From 23f4847956b6bf6ca089ecf7aaceea2e35ec4afd Mon Sep 17 00:00:00 2001 From: yukirij Date: Tue, 3 Sep 2024 22:54:14 -0700 Subject: [PATCH] Insert port number into WSS connect. --- www/js/system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/system.js b/www/js/system.js index a49bfc3..d88568f 100644 --- a/www/js/system.js +++ b/www/js/system.js @@ -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;