From ed5baff872d7ab0c8a395029ba5e2504ca0e411b Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 3 Oct 2019 16:01:21 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E5=88=87=E6=8D=A2api=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E4=B8=BA=E6=9C=AC=E5=9C=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 9b22e76..ee4aad7 100644 --- a/vue.config.js +++ b/vue.config.js @@ -26,9 +26,9 @@ module.exports = { proxy: { '/api': { //本地服务接口地址 - //target: 'http://localhost', + target: 'http://localhost', //远程演示服务地址 - target: 'https://saber.bladex.vip/api', + //target: 'https://saber.bladex.vip/api', ws: true, pathRewrite: { '^/api': '/'