From 90afd4144a362d358f6386bd6f39ab68a80d8c83 Mon Sep 17 00:00:00 2001 From: zxh <18295968303@163.com> Date: Thu, 9 Sep 2021 09:54:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E9=93=BE=E6=8E=A5'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index e51bea4..9912217 100644 --- a/vue.config.js +++ b/vue.config.js @@ -36,7 +36,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://127.0.0.1:8501/`, + // target: `http://127.0.0.1:8501/`, + target: `http://47.104.146.186:8501/`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''