mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Cache-bust on /version request
This commit is contained in:
@@ -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.
|
req.send(); // can't suppress 404s from being logged.
|
||||||
|
|
||||||
setTimeout(module.exports.run, POKE_RATE_MS);
|
setTimeout(module.exports.run, POKE_RATE_MS);
|
||||||
|
|||||||
Reference in New Issue
Block a user