From c76b6b7d56a681f4c0e62764fd922f90b4df03dd Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 20 Feb 2025 20:44:21 +0800
Subject: [PATCH] 安义基础配置调整
---
vite.config.js | 32 ++++++++++++++++++++++----------
1 files changed, 22 insertions(+), 10 deletions(-)
diff --git a/vite.config.js b/vite.config.js
index 596d4e2..1dcb7b4 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-12-01 21:17:55
+ * @LastEditTime: 2025-02-20 20:40:33
* @FilePath: \bigScreen\vite.config.js
* @Description:
*
@@ -102,6 +102,12 @@
rewrite: path => path.replace(/^\/zhyq3Dtile/, ''),
},
+ '/3Dtile/rcmx': {
+ target: 'https://wrj.shuixiongit.com/3Dtile/rcmx',
+ changeOrigin: true,
+ rewrite: path => path.replace(/^\/3Dtile\/rcmx/, ''),
+ },
+
'/panorama': {
// target: 'http://localhost',
target: 'http://vr.jxpskj.com:180',
@@ -109,25 +115,31 @@
rewrite: path => path.replace(/^\/panorama/, ''),
},
- '/zhyq/newMx': {
+ '/zhyq-rc/newMx': {
// target: 'http://localhost',
- target: 'https://wrj.shuixiongit.com/zhyq/newMx',
+ target: 'https://wrj.shuixiongit.com/zhyq-rc/newMx',
changeOrigin: true,
- rewrite: path => path.replace(/^\/zhyq\/newMx/, ''),
+ rewrite: path => path.replace(/^\/zhyq-rc\/newMx/, ''),
},
- // '/zhyq/mx': {
+ // '/zhyq-rc/mx': {
// // target: 'http://localhost',
- // target: 'https://wrj.shuixiongit.com/zhyq/mx',
+ // target: 'https://wrj.shuixiongit.com/zhyq-rc/mx',
// changeOrigin: true,
- // rewrite: path => path.replace(/^\/zhyq\/mx/, ''),
+ // rewrite: path => path.replace(/^\/zhyq-rc\/mx/, ''),
// },
- '/zhyqapi': {
+ '/zhyqayapi': {
// target: 'http://localhost:8082',
- target: 'https://wrj.shuixiongit.com/zhyqapi',
+ target: 'https://wrj.shuixiongit.com/zhyqayapi',
changeOrigin: true,
- rewrite: path => path.replace(/^\/zhyqapi/, ''),
+ rewrite: path => path.replace(/^\/zhyqayapi/, ''),
+ },
+
+ '/arcgis117': {
+ target: 'https://wrj.shuixiongit.com/arcgis117',
+ changeOrigin: true,
+ rewrite: path => path.replace(/^\/arcgis117/, ''),
},
},
},
--
Gitblit v1.9.3