diff --git a/public/react/src/modules/page/VNCDisplay.js b/public/react/src/modules/page/VNCDisplay.js index 6b4b0323..e6dff2f4 100644 --- a/public/react/src/modules/page/VNCDisplay.js +++ b/public/react/src/modules/page/VNCDisplay.js @@ -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;