mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-05-03 04:08:40 +00:00
Updated and removed serviceworker. Will add again shortly
This commit is contained in:
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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