Remove auto reload.

This commit is contained in:
FireMasterK 2020-11-16 16:11:47 +05:30
parent c3d5072614
commit cb714f46ec

View File

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