From 04a2a5cda741327defd50f11351cf20e87fc0961 Mon Sep 17 00:00:00 2001 From: Ralph Date: Tue, 27 Oct 2020 16:51:28 +0800 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-ui/vue.config.js.=20=E5=BA=94?= =?UTF-8?q?=E8=AF=A5=E6=98=AF=E5=8D=8A=E8=A7=92=E5=8D=95=E5=BC=95=E5=8F=B7?= =?UTF-8?q?'=EF=BC=8C=E4=B8=8D=E5=BA=94=E8=AF=A5=E6=98=AF`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index a83bcd04..7ac29179 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -34,7 +34,7 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://localhost:8080`, + target: 'http://localhost:8080', changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''