pre_develop
hjm 6 years ago
parent 939b575871
commit 1ca7b99e7b

@ -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;

Loading…
Cancel
Save