mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-07 20:18:49 +00:00
Unregistering serviceworker
This commit is contained in:
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -69,7 +69,7 @@ if (navigator.serviceWorker) {
|
||||
console.error(e);
|
||||
});
|
||||
navigator.serviceWorker.getRegistration('/').then(function(registration) {
|
||||
registration.update();
|
||||
registration.unregister();
|
||||
});
|
||||
} else {
|
||||
console.log('Service Worker is not supported in this browser.');
|
||||
|
||||
Reference in New Issue
Block a user