diff options
-rw-r--r-- | spice_auto.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spice_auto.html b/spice_auto.html index 0a01996..b80b01c 100644 --- a/spice_auto.html +++ b/spice_auto.html @@ -99,6 +99,9 @@ } } port = spice_query_var('port', default_port); + if (window.location.protocol == 'https:') { + scheme = "wss://"; + } // If a token variable is passed in, set the parameter in a cookie. // This is used by nova-spiceproxy. |