From 29ea56cf0546726a83da815ee6721090311f5567 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期四, 18 四月 2024 14:09:37 +0800
Subject: [PATCH] fixbug:代码误删版本回退
---
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 fb950f2..c0255a0 100644
--- a/UI-Project/vite.config.js
+++ b/UI-Project/vite.config.js
@@ -22,12 +22,12 @@
https: false,
proxy: {
'/api': {
- target: 'http://localhost:8081/',
+ target: 'http://localhost:8080/mesModuleTools',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '/'),
},
'/api2': {
- target: 'http://localhost:8081/mesModuleTools',
+ target: 'http://localhost:8085/mesModuleTools',
changeOrigin: true,
pathRewrite: {
'^/api2': '',
--
Gitblit v1.8.0