mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
reenabling serviceworker hopefully
This commit is contained in:
@@ -69,7 +69,7 @@ if (navigator.serviceWorker) {
|
||||
console.error(e);
|
||||
});
|
||||
navigator.serviceWorker.getRegistration('/').then(function(registration) {
|
||||
registration.unregister();
|
||||
registration.update();
|
||||
});
|
||||
} else {
|
||||
console.log('Service Worker is not supported in this browser.');
|
||||
|
||||
Reference in New Issue
Block a user