From f064a084aaf745fbf40d4c3fd7fdd10558329507 Mon Sep 17 00:00:00 2001 From: gyc <2649472510@qq.com> Date: Fri, 12 Apr 2024 11:36:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9ip?= 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 dd8b15d..17d9a1d 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:8080`, + target: `http://127.0.0.1:8080`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''