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

* pwa

* ✌️
This commit is contained in:
tamaina 2020-02-06 22:11:27 +09:00 committed by GitHub
parent 47f3261b9f
commit 1597415340
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ self.addEventListener('install', ev => {
caches.open(cacheName)
.then(cache => {
return cache.addAll([
'/assets/error.jpg'
'/'
]);
})
.then(() => self.skipWaiting())