diff --git a/index.html b/index.html index 4bdc041..fac3bb1 100644 --- a/index.html +++ b/index.html @@ -18,12 +18,16 @@
+ The server list below refreshes every thirty seconds. It can + happen that it seems to flicker while refreshing. +
- For Info about getting whitelisted or for the password please ping @lauralani on Discord or + For Info about getting whitelisted or for the password please ping @lauralani on Discord or @lauralani@lila.network on Fediverse <3
diff --git a/static/main.js b/static/main.js index 1389100..273c147 100644 --- a/static/main.js +++ b/static/main.js @@ -3,7 +3,7 @@ const template = document.getElementById("game-template").content const serverdata = "/servers.json" var gamecontainer = document.getElementById("gamelist") -window.setInterval(PopulatePage, 10000, true) +window.setInterval(PopulatePage, 30000, true) async function PopulatePage(reload) { var request = await fetch(serverdata, {cache: "reload"})