Skip to content

Commit

Permalink
Restored missing port identifier for custom port support.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMueller2003 committed Dec 14, 2023
1 parent 8b64b18 commit 46ad206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/js/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 46ad206

Please sign in to comment.