aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-05-21 18:43:21 +0200
committermetamuffin <metamuffin@disroot.org>2025-05-21 18:43:21 +0200
commit01b98db047894a612760d08b85dd8305b36da9b1 (patch)
treecb0009bab394295582fe587dd7dde9e61df0848c
parent81b68b6cbb561e925488fe193172eff18bfe3031 (diff)
downloadisda-01b98db047894a612760d08b85dd8305b36da9b1.tar
isda-01b98db047894a612760d08b85dd8305b36da9b1.tar.bz2
isda-01b98db047894a612760d08b85dd8305b36da9b1.tar.zst
a
-rw-r--r--src/webui_live.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/webui_live.js b/src/webui_live.js
index a521f52..2096e4e 100644
--- a/src/webui_live.js
+++ b/src/webui_live.js
@@ -1,7 +1,5 @@
/// <reference lib="dom" />
-if (document.location.hash.includes("nows")) return
-
const ws = new WebSocket("/webui_ws")
ws.onopen = () => console.log("ws open");
ws.onerror = () => console.warn("ws error");