diff --git a/data/js/controls.js b/data/js/controls.js index 0395071..84b001b 100644 --- a/data/js/controls.js +++ b/data/js/controls.js @@ -231,7 +231,7 @@ function start() { port != 80 || port != 443 ) { - websock = new WebSocket( "ws://" + location + "/ws" ); + websock = new WebSocket( "ws://" + location + ":" + port + "/ws" ); } else { websock = new WebSocket("ws://" + location + "/ws"); }