Change the frontend to update every 5 seconds

This commit is contained in:
2025-08-31 15:13:42 +02:00
parent e136c8d605
commit ea827e1366

View File

@@ -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
});
}