This commit is contained in:
jomjol
2022-01-12 21:02:05 +01:00
parent 2daf6c8b3f
commit 96bb86536f
6 changed files with 30 additions and 12 deletions

View File

@@ -7,12 +7,13 @@ function gethost_Version(){
function getbasepath(){
var host = window.location.hostname;
if (((host == "127.0.0.1") || (host == "localhost") || (host == ""))
&& ((window.location.port == "80") || (window.location.port == "")))
// && ((window.location.port == "80") || (window.location.port == ""))
)
{
// host = "http://192.168.2.219"; // jomjol interner test
// host = "http://192.168.178.46"; // jomjol interner test
host = "http://192.168.178.79"; // jomjol interner Real
host = "http://192.168.178.34"; // jomjol interner Real
// host = "http://192.168.43.191";
// host = "."; // jomjol interner localhost
@@ -20,11 +21,11 @@ function getbasepath(){
else
{
host = "http://" + host;
if (window.location.port != "") {
host = host + ":" + window.location.port;
}
}
if (window.location.port != "") {
host = host + ":" + window.location.port;
}
return host;
}