From 2e36b44c7db48bafc1792b5b3c7704b1fb66bb52 Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 14 Dec 2025 00:17:11 +0000 Subject: [PATCH] Really fix /poweroff --- main/index.html | 2 +- main/index.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/main/index.html b/main/index.html index d1926c2..fbac0b0 100644 --- a/main/index.html +++ b/main/index.html @@ -171,7 +171,7 @@
- +
diff --git a/main/index.js b/main/index.js index 0efcb29..791ccb6 100644 --- a/main/index.js +++ b/main/index.js @@ -452,9 +452,6 @@ document.getElementById('resetBtn').addEventListener('click', () => { localStorage.clear(); window.location.reload(); }); -document.getElementById('powerOff').addEventListener('click', () => { - window.location.href = "/poweroff"; -}); setParams(); connect();