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
1 changed files with 1 additions and 1 deletions

View File

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