From b6214bd4bfef81e7d2510e882aa7160ce6763285 Mon Sep 17 00:00:00 2001 From: liupengpeng <276665548@qq.com> Date: 星期一, 06 二月 2023 19:14:38 +0800 Subject: [PATCH] 文件上传进度条 --- public/config/config.js | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/public/config/config.js b/public/config/config.js index 5031c5f..7716c58 100644 --- a/public/config/config.js +++ b/public/config/config.js @@ -1,10 +1,11 @@ -var isWeb = location.hostname.indexOf("103.85.165.") > -1; +//var isWeb = location.hostname.indexOf("103.85.165.") > -1; +var isWeb = true; -var webHost = isWeb ? location.hostname + ":8052" : '192.168.20.106' + ":12316"; +var webHost = isWeb ? "103.85.165.99" + ":8052" : '192.168.20.205' + ":8088"; -var fmeHost = isWeb ? location.hostname + ":8051" : '192.168.20.205' + ":88"; +var fmeHost = isWeb ? "103.85.165.99" + ":8051" : '192.168.20.205' + ":88"; -var iisHost = isWeb ? location.hostname + ":8050" : '192.168.20.205' + ":80"; +var iisHost = isWeb ? "103.85.165.99" + ":8050" : '192.168.20.205' + ":80"; var menuStartName = "绠¢亾鍩虹澶ф暟鎹钩鍙�"; @@ -16,7 +17,7 @@ var socketUrl = 'ws://' + webHost + '/server/ws/select'; // GeoServerUrl -var geoServerURl = 'http://192.168.20.205:8088//geoserver/LF/wms'; +var geoServerURl = 'http://' + webHost + '/geoserver/LF/wms'; var geoserverWFS = '/geoserver/LF/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Abs_project&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname='; @@ -26,7 +27,7 @@ var modelUrl = LFData + '/tileset/SN/tileset.json'; // DEM -var demLayer = 'http://192.168.20.55/LFData/dem'; +var demLayer = LFData + '/dem'; // 缁煎悎灞曠ず window.sceneConfig = { -- Gitblit v1.9.3