From 86a67b0aadc8bd8ce1b596a00313619bd1761d8b Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sun, 24 Nov 2024 03:31:51 +0800
Subject: [PATCH] 倾斜加载调整
---
vite.config.js | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/vite.config.js b/vite.config.js
index ee27ecf..aae870f 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2024-10-25 10:56:27
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-13 19:15:01
+ * @LastEditTime: 2024-11-24 03:04:27
* @FilePath: \bigScreen\vite.config.js
* @Description:
*
@@ -99,6 +99,13 @@
rewrite: path => path.replace(/^\/panorama/, ''),
},
+ '/zhyq/newMx': {
+ // target: 'http://localhost',
+ target: 'https://wrj.shuixiongit.com/zhyq/newMx',
+ changeOrigin: true,
+ rewrite: path => path.replace(/^\/zhyq\/newMx/, ''),
+ },
+
'/zhyq/mx': {
// target: 'http://localhost',
target: 'https://wrj.shuixiongit.com/zhyq/mx',
--
Gitblit v1.9.3