Don't use different port for websocket

Use the same port for the websocket that is being used for everything
else.
This commit is contained in:
Zorchenhimer 2019-03-16 16:53:22 -04:00
parent 7de20f6145
commit 224fdd96c8

View File

@ -51,10 +51,10 @@ function startGo() {
function getWsUri() {
port = window.location.port;
if (port == "") {
port = "8089";
if (port != "") {
port = ":" + port;
}
return "ws://" + window.location.hostname + ":" + port + "/ws";
return "ws://" + window.location.hostname + port + "/ws";
}
let maxMessageCount = 0