From e3ec70d23029d9a63e144705bd9dd3a3040e4aeb Mon Sep 17 00:00:00 2001 From: hh <292475944@qq.com> Date: Tue, 24 Nov 2020 08:44:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E4=B8=8A=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- vue.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]: ''