From f76dd321afb73a2508b2dfc78aa2d59f2a92aae8 Mon Sep 17 00:00:00 2001 From: "J. Patrick Avery, Jr" Date: Tue, 7 Feb 2017 16:09:03 -0700 Subject: [PATCH] puzzles.js: add in a cache buster --- www/res/puzzles.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/res/puzzles.js b/www/res/puzzles.js index bbba387..842284d 100644 --- a/www/res/puzzles.js +++ b/www/res/puzzles.js @@ -1,5 +1,7 @@ var puzzlesTerminal; -var puzzlesJsonUrl = "puzzles.json"; +var ms=new Date().getTime() +var puzzlesJsonUrl = "puzzles.json?" + ms; +console.log(puzzlesJsonUrl); function loadPuzzle(cat, id, points) { console.log("Requested " + cat + "/" + id + "(" + points + ")");