mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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
Block a user