From 991bd44f15dc8bceb728bce9074177ad36253d20 Mon Sep 17 00:00:00 2001 From: Christian Boenning Date: Mon, 3 Mar 2025 21:53:31 +0100 Subject: [PATCH] Enable Cache Busting for /status.json --- web/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/index.js b/web/index.js index 764f6b7..ed5958f 100644 --- a/web/index.js +++ b/web/index.js @@ -459,7 +459,7 @@ }; $(function init() { - $.getJSON('./status.json') + $.getJSON('./status.json', {_: new Date().getTime()}) .then(render) .then(pollJSON) .fail(handleError); @@ -470,7 +470,7 @@ } function update() { - $.getJSON('./status.json') + $.getJSON('./status.json', {_: new Date().getTime()}) .then(setPollInterval) .then(render) .fail(handleError);