From 47ae82867c0f1f0dc5417267fff1b5a12c33720b Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期一, 17 六月 2024 14:11:32 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
UI-Project/vite.config.js | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/UI-Project/vite.config.js b/UI-Project/vite.config.js
index fb950f2..b93f5ee 100644
--- a/UI-Project/vite.config.js
+++ b/UI-Project/vite.config.js
@@ -22,17 +22,17 @@
https: false,
proxy: {
'/api': {
- target: 'http://localhost:8081/',
+ target: 'http://127.0.0.1:88/',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '/'),
},
- '/api2': {
- target: 'http://localhost:8081/mesModuleTools',
- changeOrigin: true,
- pathRewrite: {
- '^/api2': '',
- },
- },
+ // '/api2': {
+ // target: 'http://localhost:8085/mesModuleTools',
+ // changeOrigin: true,
+ // pathRewrite: {
+ // '^/api2': '',
+ // },
+ // },
},
},
configureServer: ({ middlewares }) => {
--
Gitblit v1.8.0