From ea827e1366f81f1339e00f185e05541ffbe39e47 Mon Sep 17 00:00:00 2001 From: Stef Date: Sun, 31 Aug 2025 15:13:42 +0200 Subject: [PATCH] Change the frontend to update every 5 seconds --- templates/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/home.html b/templates/home.html index 9bfab9f..e0b4130 100644 --- a/templates/home.html +++ b/templates/home.html @@ -27,7 +27,7 @@ }) .catch(error => console.error("Error fetching data", error)) .finally(() => { - setTimeout(fetchData, 1000); // schedule next request after 1 second + setTimeout(fetchData, 5000); // schedule next request after 5 seconds }); }