Cache-bust on /version request
This commit is contained in:
parent
01bfb67b5b
commit
27791c06ee
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue