Open jonasbolin-se opened 7 years ago
"Update your fetch event listener to match the code below."
There is no code below ;)
I think the code inserted should be:
`self.addEventListener('activate', event => { event.waitUntil(self.clients.claim()); });
self.addEventListener('fetch', event => { event.respondWith( caches.match(event.request).then(response => { return response || fetch(event.request); }) ); });`
I have confirmed the two blocks of code mentioned above are not shown in Japanese page. English page is alright anyway.
"Update your fetch event listener to match the code below."
There is no code below ;)
I think the code inserted should be:
`self.addEventListener('activate', event => { event.waitUntil(self.clients.claim()); });
self.addEventListener('fetch', event => { event.respondWith( caches.match(event.request).then(response => { return response || fetch(event.request); }) ); });`