1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +00:00

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;