From 0d68be1fa109b0f55fa0b4c023baf4b66dcc9f28 Mon Sep 17 00:00:00 2001 From: liuchengxin <13104445455@163.com> Date: 星期四, 09 六月 2022 14:06:39 +0800 Subject: [PATCH] BUG修改 --- vue.config.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/vue.config.js b/vue.config.js index b3ac9e8..f10975b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -33,8 +33,9 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { + target: `http://47.95.0.46:8080`, // target: `http://101.35.174.42:8082`, - target: `http://localhost:8081`, + // target: `http://localhost:8081`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' -- Gitblit v1.9.1