parent
47f3261b9f
commit
1597415340
@ -18,7 +18,7 @@ self.addEventListener('install', ev => {
|
|||||||
caches.open(cacheName)
|
caches.open(cacheName)
|
||||||
.then(cache => {
|
.then(cache => {
|
||||||
return cache.addAll([
|
return cache.addAll([
|
||||||
'/assets/error.jpg'
|
'/'
|
||||||
]);
|
]);
|
||||||
})
|
})
|
||||||
.then(() => self.skipWaiting())
|
.then(() => self.skipWaiting())
|
||||||
|
Loading…
Reference in New Issue
Block a user