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)
.then(cache => {
return cache.addAll([
'/assets/error.jpg'
'/'
]);
})
.then(() => self.skipWaiting())