From c1d5810020ba63dfa2778c0b473aa8570cea6d03 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Mon, 13 Feb 2023 16:07:34 -0500 Subject: [PATCH] Another small fix. --- webshit/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;