From 7ec79b28635ff4fc51a2825acbb0621385708a74 Mon Sep 17 00:00:00 2001 From: smallchill Date: Mon, 1 Jul 2019 22:58:49 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20=E6=94=B9=E5=9B=9E=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=EF=BC=8C=E6=9C=AA=E6=9D=A5=E5=A2=9E=E5=8A=A0mock=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 8e20201..4b942d9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -25,8 +25,7 @@ module.exports = { // 反向代理配置 proxy: { '/api': { - //target: 'http://localhost', - target: 'https://saber.bladex.vip/api', + target: 'http://localhost', ws: true, pathRewrite: { '^/api': '/'