From eb91a871e3a96a04870cfbb56d8f35d8561a1c8d Mon Sep 17 00:00:00 2001
From: wang <3597712270@qq.com>
Date: 星期四, 28 三月 2024 16:50:49 +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 c5cc368..b0685b2 100644
--- a/UI-Project/vite.config.js
+++ b/UI-Project/vite.config.js
@@ -33,7 +33,7 @@
       '/api2': {
         target: 'localhost:8080/mesModuleTools',
         changeOrigin: true,
-        rewrite: (path) => path.replace(/^\/api2/, ""),
+        rewrite: (path) => path.replace(/^\/api2/, "mesModuleTools"),
       },
     }
   }

--
Gitblit v1.8.0