mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 20:24:18 -04:00
remove SW unregistering
This commit is contained in:
parent
37fc1c3177
commit
2e75429c0d
@ -57,15 +57,6 @@
|
||||
sorter();
|
||||
|
||||
this.confirmAge();
|
||||
|
||||
// TODO remove when adding back PWA
|
||||
if (!navigator.serviceWorker) { return; }
|
||||
navigator.serviceWorker.getRegistrations().then(function(registrations) {
|
||||
for(let registration of registrations) {
|
||||
console.log('unregistering', registration);
|
||||
registration.unregister();
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
async confirmAge() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user