diff --git a/webshit/index.html b/webshit/index.html index d9b11cfe..3e2645a2 100644 --- a/webshit/index.html +++ b/webshit/index.html @@ -500,7 +500,7 @@ document.addEventListener('drop', (event) => { if(ws) return; let opened = false; - ws = new WebSocket(`ws${window.location.protocol === "https"? "s" : ""}://${location.host}/ws`); + ws = new WebSocket(`ws${window.location.protocol === "https:"? "s" : ""}://${location.host}/ws`); ws.addEventListener("open", () => { opened = true;