sw: don't remove cache

This commit is contained in:
FireMasterK 2021-01-02 02:31:44 +05:30
parent fcea986d25
commit 0481245a3d
1 changed files with 0 additions and 3 deletions

View File

@ -21,9 +21,6 @@ if (process.env.NODE_ENV === 'production') {
},
updated() {
console.log('New content is available; please refresh.')
caches.keys().then(function (names) {
for (let name of names) caches.delete(name);
})
},
offline() {
console.log('No internet connection found. App is running in offline mode.')