mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
reload anyway
This commit is contained in:
@@ -564,7 +564,7 @@ export default class Header extends TranslatedComponent {
|
||||
async update() {
|
||||
const reg = await navigator.serviceWorker.getRegistration();
|
||||
if (!reg || !reg.waiting) {
|
||||
return;
|
||||
return window.location.reload();
|
||||
}
|
||||
reg.waiting.postMessage('skipWaiting');
|
||||
window.location.reload();
|
||||
|
||||
Reference in New Issue
Block a user