1
2
3
4
5
6
7
8
9
10
11
12
13
| const isWeb = location.href.indexOf("web") > -1;
|
| var hostname = isWeb ? "" : location.hostname;
| var port = isWeb ? "" : location.port;
| var web = isWeb ? "/web" : "";
| var iisHost = "http://" + hostname + ":" + port + web;
| const config = {
| menuImgUrl: iisHost + "/img/menu/",
| layerUrls: iisHost,
| popImg: iisHost + "/lcj/pic/",
| popVideo: iisHost + "/lcj/mp4/",
| historyUrl: "http://192.168.11.95/LinCaoJu/",
| };
|
|