月球大数据地理空间分析展示平台-【前端】-月球2期前端
Surpriseplus
2023-09-05 96bca5626eebaa68462c7b1df6d023a95c92ae4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//是否为生产环境
var isWeb = location.hostname.indexOf("103.85.165.") > -1;
//是否为生产环境
const webUrl = location.href.indexOf("/web") > -1 ? "/web" : "";
 
var webHost = isWeb ? "103.85.165.99" + ":28888" : '192.168.20.83' + ":8888";
//配置文件地址
const config = {
  mapMoon: webUrl + "/mapscreen/index.html",
 
  //SDK许可
  StaticFileBaseUrl: webUrl + "/CIMSDK/",
 
  proxy: "http://" + webHost + "/MoonServer",
 
  BASE_URL: "http://" + webHost + "/MoonServer",
 
  conditions: [
    ["=", "<>", "like"],
    [">=", ">", " =", "<=", "<", "<>"],
    [">=", ">", " =", "<=", "<", "<>"],
  ],
};
export default config;