diff --git a/src/api/index.js b/src/api/index.js index 853b287..6de4841 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -2,7 +2,7 @@ import home from './home' // 获取当前环境变量 true => 生产环境 false => 开发环境 -const BASEURL = (process.env.NODE_ENV === 'production') ? 'http://122.9.152.120/ceres-app-api' : '/api' +const BASEURL = (process.env.NODE_ENV === 'production') ? 'http://36.138.125.206:8081/ceres-app-api' : '/api' // const BASEURL = (process.env.NODE_ENV === 'production') ? 'https://wechat.hnthee.com/ceres-app-api' : '/api' export const api = {