From 580e44f2c5503ed172124ceba8c7c1cb03a8f7f3 Mon Sep 17 00:00:00 2001 From: liuchengxin <13104445455@163.com> Date: 星期四, 02 六月 2022 16:48:13 +0800 Subject: [PATCH] 问题修改 --- vue.config.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/vue.config.js b/vue.config.js index 0436ef1..f10975b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -33,7 +33,9 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://localhost:8080`, + target: `http://47.95.0.46:8080`, + // target: `http://101.35.174.42:8082`, + // target: `http://localhost:8081`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' -- Gitblit v1.9.1