From 1ea6b330869b3f46461e2137397fecf00a32a2dd Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期五, 24 五月 2024 14:25:12 +0800
Subject: [PATCH] S7通信异常后重连
---
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