mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 03:56:57 +03:00
Communication error behind an HTTPS proxy
The device always requests via HTTP, not HTTPS
This commit is contained in:
@@ -20,7 +20,7 @@ function getbasepath(){
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
host = "http://" + host;
|
host = window.location.protocol + "//" + host;
|
||||||
if (window.location.port != "") {
|
if (window.location.port != "") {
|
||||||
host = host + ":" + window.location.port;
|
host = host + ":" + window.location.port;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user