From 4af36bc470e030990ba1d20a3e95d21d9e10df9d Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 1 Jan 2023 18:14:41 +0100 Subject: [PATCH] Regularly load state from server --- data/www/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/data/www/script.js b/data/www/script.js index 8d07030..f4d87b8 100644 --- a/data/www/script.js +++ b/data/www/script.js @@ -37,4 +37,5 @@ function handleAvailableFiles(data) { (() => { loadAvailableFiles(); + setInterval(loadAvailableFiles, 10000); })();