sw: don't remove cache

This commit is contained in:
FireMasterK 2021-01-02 02:31:44 +05:30
parent fcea986d25
commit 0481245a3d

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.')