月球大数据地理空间分析展示平台-【前端】-月球2期前端
surprise
2024-02-26 66372722cced2c1310d77388422091f43b654ac5
public/config/config.js
@@ -3,16 +3,17 @@
//是否为生产环境
const webUrl = location.href.indexOf("/web") > -1 ? "/web" : "";
var webHost = isWeb ? "103.85.165.99" + ":28888" :  '106.120.22.35' + ":28888";
// var webHost = isWeb ? "103.85.165.99" + ":28888" : '192.168.20.83' + ":8888";
// var webHost = isWeb ? "103.85.165.99" + ":28888" :  '106.120.22.35' + ":28888";
var webHost = isWeb ? "103.85.165.99" + ":28888" : '192.168.20.83' + ":8888";
// var webHost = isWeb ? "103.85.165.99" + ":28888" : '100.10.1.169' + ":8088";
var  imageUrl = "http://localhost:8080"+webUrl
// WebSocket 服务地址
var socketUrl = 'ws://' + webHost + '/MoonServer/ws/select';
//配置文件地址
const config = {
  mapMoon: webUrl + "/mapscreen/index.html",
  //坡度分析图层
  esri: 'https://192.168.22.61:6443/arcgis/services/无标题/MapServer/WMSServer?',
  esri: 'http://192.168.22.198:6080/arcgis/services/无标题/MapServer/WMSServer?',
  //SDK许可
  StaticFileBaseUrl: webUrl + "/WebSDK/",