1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-05 19:40:52 -07:00

Append current time to request to force reload puzzles.json

This commit is contained in:
James Wernicke 2018-05-16 09:21:09 -05:00
parent 6532ae343a
commit 8cc15f01d3

View file

@ -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...");