From 8cc15f01d39a57c4869ab4d15c7d30105d0b28e6 Mon Sep 17 00:00:00 2001 From: James Wernicke Date: Wed, 16 May 2018 09:21:09 -0500 Subject: [PATCH] Append current time to request to force reload puzzles.json --- www/res/puzzles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/res/puzzles.js b/www/res/puzzles.js index 1e1bfee..e201559 100644 --- a/www/res/puzzles.js +++ b/www/res/puzzles.js @@ -56,7 +56,7 @@ function puzzles_start() { var refreshInterval = 40 * 1000; var refreshCallback = puzzlesRefresh.bind(undefined, puzzlesTerminal); - var refreshFunction = loadJSON.bind(undefined, puzzlesJsonUrl, refreshCallback); + var refreshFunction = loadJSON.bind(undefined, puzzlesJsonUrl + '?_=' + new Date().getTime(), refreshCallback); puzzlesTerminal.clear(); puzzlesTerminal.par("Loading...");