From 520ac2e0449836d35e0e5ee9d10b61bd38935f75 Mon Sep 17 00:00:00 2001 From: smallchill Date: Sun, 17 Nov 2019 22:35:04 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= 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 bebe49f..798e65c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -28,9 +28,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': '/'