From 5ee8b399f40abc4305b0bb85ec5bc03e33a16ce9 Mon Sep 17 00:00:00 2001 From: zangch Date: Mon, 26 Aug 2024 11:14:33 +0800 Subject: [PATCH] =?UTF-8?q?change-=E4=BB=A3=E7=90=86target:=20`http://loca?= =?UTF-8?q?lhost:8010`=E6=94=B9=E4=B8=BA8020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 48a78f8..fc5c184 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://localhost:8010`, + target: `http://localhost:8020`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''