Skip to content

Commit 27791c0

Browse files
committed
Cache-bust on /version request
1 parent 01bfb67 commit 27791c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vector/updater.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ module.exports = {
4343
}
4444
}
4545
});
46-
req.open("GET", "version");
46+
var cacheBuster = "?ts=" + new Date().getTime();
47+
req.open("GET", "version" + cacheBuster);
4748
req.send(); // can't suppress 404s from being logged.
4849

4950
setTimeout(module.exports.run, POKE_RATE_MS);

0 commit comments

Comments
 (0)