Insert port number into WSS connect.
This commit is contained in:
parent
2260480741
commit
23f4847956
@ -1,7 +1,7 @@
|
||||
function RECONNECT() {
|
||||
if(SOCKET === null) {
|
||||
console.log("Websocket connecting..");
|
||||
SOCKET = new WebSocket("wss://" + location.host);
|
||||
SOCKET = new WebSocket("wss://" + location.hostname + ":38612");
|
||||
SOCKET.binaryType = "arraybuffer";
|
||||
SOCKET.addEventListener("error", () => {
|
||||
SOCKET = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user