MCUT_Supervisor/N4JS/js/config.js
2025-03-26 10:38:33 +08:00

12 lines
467 B
JavaScript

var baseApiUrl = "http://60.251.164.125:8848/";
var cctvApiUrl = "http://60.251.164.125:8847";
var default_building = {
ip_address: "60.251.164.125",
ip_port: "8080"
}
var temp_cuurent_Url_pathname = window.location.pathname.split("/").slice(0, 3);
var redirectionUrl = window.location.origin + "/" +
temp_cuurent_Url_pathname[temp_cuurent_Url_pathname.length - 1].replace(":%5E", "/") + "/" +
window.location.pathname.split("/").slice(3).join("/");