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:
parent
53d7d1365d
commit
812bbb2ccc
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue