From 43c33faa24ee3489043cf132e5d07002f37293ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E9=9B=AA?= <1617763071@qq.com> Date: Thu, 19 Mar 2026 11:26:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BE=E6=89=8B=E5=85=8D=E8=B4=A3=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=20=E7=AD=89=E5=BE=85=E6=95=B0=E6=8D=AE=E5=88=B0?= =?UTF-8?q?=E4=BD=8D=E7=BB=A7=E7=BB=AD=E6=B8=B2=E6=9F=93=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E4=BA=BA=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.mjs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vite.config.mjs b/vite.config.mjs index 4fdb079..602faab 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -61,7 +61,10 @@ export default ({ mode, command }) => { port: 2888, proxy: { '/api': { - // target: 'http://192.168.0.115:80',//本地 + + target: 'http://192.168.0.127:80',//外协本地 + // target: 'http://192.168.0.126:80',//举手本地 + // target: 'http://192.168.0.115:80',//工作台消息本地 // target: 'http://192.168.1.5:82', // target: "http://192.168.1.4:82", // target: 'http://49.232.74.228:82', @@ -70,7 +73,7 @@ export default ({ mode, command }) => { // target: 'http://49.232.74.228:82', // target: "http:192.168.0.220:80", // target: 'http:49.232.74.228:49', - target: 'http://49.232.74.228:80', //测试环境的地址 + // target: 'http://49.232.74.228:80', //测试环境的地址 changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), },