@ -88,11 +88,11 @@ class VNCDisplay extends Component {
status("Connecting");
// Build the websocket URL used to connect
let url;
if (window.location.protocol === "https:") {
url = 'wss';
} else {
// if (window.location.protocol === "https:") {
// url = 'wss';
// } else {
url = 'ws';
}
// }
url += '://' + host;
if(port) {
url += ':' + port;