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:
parent
7de20f6145
commit
224fdd96c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user