From 11862d13b673a267a4ef556f16fb541dc6242788 Mon Sep 17 00:00:00 2001 From: lauralani Date: Mon, 28 Aug 2023 13:48:06 +0200 Subject: [PATCH] add timestamp to url --- static/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/main.js b/static/main.js index b198c33..1389100 100644 --- a/static/main.js +++ b/static/main.js @@ -17,7 +17,7 @@ async function PopulatePage(reload) { data.forEach(server => { let clone = template.cloneNode(true); - let url = badgeurl.replace("##", server.id ) + let url = badgeurl.replace("##", server.id ) + "&" + String(Date.now()) clone.querySelector("#game-name").innerHTML = server.displayname clone.querySelector("#game-badge").src = url clone.querySelector("#game-url").innerHTML = server.serverurl