mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-08 21:34:36 +00:00
console-spice-full fix scheme wss when accessing from https
This commit is contained in:
@@ -100,6 +100,9 @@
|
|||||||
|
|
||||||
host = document.getElementById("host").value;
|
host = document.getElementById("host").value;
|
||||||
port = document.getElementById("port").value;
|
port = document.getElementById("port").value;
|
||||||
|
if (window.location.protocol == 'https:') {
|
||||||
|
scheme = "wss://";
|
||||||
|
}
|
||||||
password = document.getElementById("password").value;
|
password = document.getElementById("password").value;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user