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 = {
|
ifreamLogin: iisHost + "/mapscreen/index.html",
|
jsonUrl: iisHost + "/data/json/",
|
};
|