We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2a11d0 commit 31b91e5Copy full SHA for 31b91e5
index.html
@@ -49,9 +49,13 @@
49
if (window.navigator.maxTouchPoints > 1) window.location.hash = '#dev' // show eruda
50
// unregister all sw
51
if (window.navigator.serviceWorker) {
52
+ console.log('got worker')
53
window.navigator.serviceWorker.getRegistrations().then(registrations => {
54
registrations.forEach(registration => {
- registration.unregister()
55
+ console.log('got registration')
56
+ registration.unregister().then(() => {
57
+ console.log('worker unregistered')
58
+ })
59
})
60
61
}
0 commit comments