From c4aaf9b67de6da80d9c4eda55379a057f60e1f47 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 12 Nov 2024 13:32:03 +0800
Subject: [PATCH] 地图全景点加载处理
---
vite.config.js | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/vite.config.js b/vite.config.js
index fb9ba34..fb47a1e 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -85,6 +85,13 @@
// overlay:false
// },
proxy: {
+ '/panorama/url': {
+ // target: 'http://localhost',
+ target: 'http://vr.jxpskj.com:180',
+ changeOrigin: true,
+ rewrite: path => path.replace(/^\/panorama\/url/, ''),
+ },
+
'/zhyq/mx': {
// target: 'http://localhost',
target: 'https://wrj.shuixiongit.com/zhyq/mx',
--
Gitblit v1.9.3