From 3f68c99c363662fa0a66591c38f05ea92c2a41fe Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 08 十二月 2025 09:42:29 +0800
Subject: [PATCH] 优化
---
screen/vite.config.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/screen/vite.config.js b/screen/vite.config.js
index d52efd3..ce3a8a3 100644
--- a/screen/vite.config.js
+++ b/screen/vite.config.js
@@ -26,11 +26,12 @@
proxy: {
"/system_gateway": {
// target: "http://192.168.1.45:10010",
- target: "http://192.168.0.7",
+ target: "http://10.49.152.112/system_gateway",
+ // target: "http://192.168.0.7/system_gateway",
// target: "http://10.50.250.253:8088/gateway_interface",
// target: "https://atwl.ahzyssl.com/zhyq_interface",
changeOrigin: true,
- rewrite: (path) => path.replace(/^\/gateway_interface/, ""),
+ rewrite: (path) => path.replace(/^\/system_gateway/, ""),
},
},
},
--
Gitblit v1.9.3