console-spice-full fix scheme wss when accessing from https

This commit is contained in:
Ing. Jan KRCMAR
2018-09-25 23:25:06 +02:00
parent 53d7d1365d
commit 812bbb2ccc

View File

@@ -100,6 +100,9 @@
host = document.getElementById("host").value;
port = document.getElementById("port").value;
if (window.location.protocol == 'https:') {
scheme = "wss://";
}
password = document.getElementById("password").value;