From 653f6477b4d211c6924f206d86a69f4f23452031 Mon Sep 17 00:00:00 2001 From: CTP <630182278@qq.com> Date: Thu, 27 Apr 2023 16:42:09 +0800 Subject: [PATCH] 1 --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 197efc4..a0cb493 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,7 +35,7 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://192.168.0.166:9993/`, + target: `process.env.VUE_APP_BASE_API`, changeOrigin: true, pathRewrite: { ["^" + process.env.VUE_APP_BASE_API]: "",