Cache-bust on /version request

pull/900/head
Kegan Dougal 2016-02-05 15:53:33 +00:00
parent 01bfb67b5b
commit 27791c06ee
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ module.exports = {
}
}
});
req.open("GET", "version");
var cacheBuster = "?ts=" + new Date().getTime();
req.open("GET", "version" + cacheBuster);
req.send(); // can't suppress 404s from being logged.
setTimeout(module.exports.run, POKE_RATE_MS);