Fix
This commit is contained in:
parent
7b5e462760
commit
4de7e57e29
|
@ -34,7 +34,7 @@ self.addEventListener('activate', ev => {
|
||||||
self.addEventListener('fetch', ev => {
|
self.addEventListener('fetch', ev => {
|
||||||
ev.respondWith(
|
ev.respondWith(
|
||||||
fetch(ev.request)
|
fetch(ev.request)
|
||||||
.catch(() => new Response(`Offline. Service Worker @${version}`, { status: 200 }))
|
.catch(() => new Response(`Offline. Service Worker @${_VERSION_}`, { status: 200 }))
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
Loading…
Reference in New Issue