From 6c6b35dd5e992be56d41c31cf0aa364f91bd03c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=9F=B9=E5=8F=8B?= <17852335869@163.com> Date: Tue, 21 Mar 2023 17:24:16 +0800 Subject: [PATCH] vue.config.js --- vue.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vue.config.js b/vue.config.js index 52172d9..0b9ff84 100644 --- a/vue.config.js +++ b/vue.config.js @@ -26,14 +26,15 @@ module.exports = { proxy: { '/api': { //本地服务接口地址 - target: 'http://192.168.1.102:81', + target: 'http://192.168.3.36:81', + // target: 'http://192.168.1.102:81', //远程演示服务地址,可用于直接启动项目 - // target: 'https://saber.bladex.vip/api', + // target: 'http://10.133.191.105:81', ws: true, pathRewrite: { '^/api': '/' } - } + } } } };