From 968394a4f9885e7df2a4af4b5b35af070975f4b6 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期二, 29 八月 2023 17:03:02 +0800
Subject: [PATCH] 资源查询页面修改,接口对接调试,图层管理页面修改,数据上传页面修改

---
 public/config/config.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/public/config/config.js b/public/config/config.js
index 66115df..d7cf7fd 100644
--- a/public/config/config.js
+++ b/public/config/config.js
@@ -1,5 +1,7 @@
 var isWeb = location.hostname.indexOf("103.85.165.") > -1;
-// var isWeb = false;
+
+const webUrl = location.href.indexOf("/web") > -1 ? "/web" : "";
+
 var is_production = false;//鍒ゆ柇鏄惁涓虹敓浜х幆澧�
 
 var webHost = isWeb ? "103.85.165.99" + ":28888" : '192.168.20.83' + ":8888";
@@ -8,7 +10,6 @@
 
 var iisHost = isWeb ? "103.85.165.99" + ":8050" : '192.168.20.83' + ":80";
 
-const webUrl = true ? "/middle" : "";
 //SDK璁稿彲
 var StaticFileBaseUrl = webUrl + "/CIMSDK/";
 

--
Gitblit v1.9.3