From 532e9a9b241f736fe0ed6ebb2bbd7ed00f9955ce Mon Sep 17 00:00:00 2001
From: 严智鑫 <test>
Date: 星期二, 02 四月 2024 16:00:37 +0800
Subject: [PATCH] 更新

---
 UI-Project/vite.config.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/UI-Project/vite.config.js b/UI-Project/vite.config.js
index 28fb7f8..b0685b2 100644
--- a/UI-Project/vite.config.js
+++ b/UI-Project/vite.config.js
@@ -31,9 +31,9 @@
         // rewrite: (path) => path.replace(/^\/api/, "/mesModuleTools"), //閲嶅啓鐪熷疄璺緞,鏇挎崲/api
       },
       '/api2': {
-        target: 'localhost:8081/mesModuleTools',
+        target: 'localhost:8080/mesModuleTools',
         changeOrigin: true,
-        rewrite: (path) => path.replace(/^\/api2/, ""),
+        rewrite: (path) => path.replace(/^\/api2/, "mesModuleTools"),
       },
     }
   }

--
Gitblit v1.8.0