mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-01 23:26:18 +00:00
Updated and removed serviceworker. Will add again shortly
This commit is contained in:
@@ -68,6 +68,9 @@ if (navigator.serviceWorker) {
|
||||
.catch(function (e) {
|
||||
console.error(e);
|
||||
});
|
||||
navigator.serviceWorker.getRegistration('/').then(function(registration) {
|
||||
registration.unregister();
|
||||
});
|
||||
} else {
|
||||
console.log('Service Worker is not supported in this browser.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user