From 1f5e9eca0869ee3f02cdd68514124d44edabbefa Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期二, 04 六月 2024 12:32:12 +0800
Subject: [PATCH] 更改联机状态的获取,去除无用代码
---
UI-Project/vite.config.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/UI-Project/vite.config.js b/UI-Project/vite.config.js
index d89091a..b93f5ee 100644
--- a/UI-Project/vite.config.js
+++ b/UI-Project/vite.config.js
@@ -22,7 +22,7 @@
https: false,
proxy: {
'/api': {
- target: 'http://localhost:88/',
+ target: 'http://127.0.0.1:88/',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '/'),
},
--
Gitblit v1.8.0