Communication error behind an HTTPS proxy

The device always requests via HTTP, not HTTPS
This commit is contained in:
ChrisHanuta
2022-09-16 10:18:40 +02:00
parent 43372c94a8
commit 67d47abde2

View File

@@ -20,7 +20,7 @@ function getbasepath(){
}
else
{
host = "http://" + host;
host = window.location.protocol + "//" + host;
if (window.location.port != "") {
host = host + ":" + window.location.port;
}