PWAとしてインストールできなかったのを修正 (#5863)

* pwa

* ✌️
This commit is contained in:
tamaina 2020-02-06 22:11:27 +09:00 committed by GitHub
parent f9bd7ab428
commit eefc65b1b6

View file

@ -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())