From 5f8ac4ffc4b4479d77ee08b0230cd644a1b5dc66 Mon Sep 17 00:00:00 2001 From: Dottere Date: Tue, 6 Oct 2026 17:33:31 +0200 Subject: [PATCH] fixed js bug --- web/js/script.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/js/script.js b/web/js/script.js index 93cc4f2..34e7213 100644 --- a/web/js/script.js +++ b/web/js/script.js @@ -1,6 +1,4 @@ -const baseUrl = window.location - -const eventSource = new EventSource(baseUrl + "/api/events") +const eventSource = new EventSource("/api/events") let prevCPUIdle = 0 let prevCPUKernel = 0