diff --git a/.env.production b/.env.production index 01fb5ee..8e23965 100644 --- a/.env.production +++ b/.env.production @@ -2,4 +2,4 @@ ENV = 'production' # 管理系统/生产环境 -VUE_APP_BASE_API = 'http://121.37.250.170:8080' +VUE_APP_BASE_API = 'http://47.115.73.110:8080' diff --git a/vue.config.js b/vue.config.js index 005efaa..09db99d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -34,8 +34,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { + target: `http://47.115.73.110:8080`, target: `http://192.168.0.129:8080`, - // target: `http://121.37.250.170:8080`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''