From 89d21e01d366137dd4d9a0177933951aa23625ec Mon Sep 17 00:00:00 2001 From: bunny <1319900154@qq.com> Date: Wed, 28 Feb 2024 20:12:21 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E9=9B=86=E6=88=90:=20=F0=9F=8E=A1=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0pathRewrite?= 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 d4da7d9..63d1753 100644 --- a/vue.config.js +++ b/vue.config.js @@ -31,7 +31,7 @@ module.exports = defineConfig({ '/mock': { target: process.env.VUE_APP_URL, changeOrigin: true, - pathRewrite: { '^/api': '/api' }, + pathRewrite: { '^/mock': '' }, }, }, },