From e1281f6933755e07c7fb4b5bd8e8027cfb780e94 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 27 十一月 2025 17:06:43 +0800
Subject: [PATCH] 改bug
---
screen/vite.config.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/screen/vite.config.js b/screen/vite.config.js
index d52efd3..dcc6f82 100644
--- a/screen/vite.config.js
+++ b/screen/vite.config.js
@@ -25,12 +25,12 @@
server: {
proxy: {
"/system_gateway": {
- // target: "http://192.168.1.45:10010",
- target: "http://192.168.0.7",
+ target: "http://192.168.1.45:10010",
+ // target: "http://192.168.0.7",
// 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