mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 13:37:23 +00:00
Remove auto reload.
This commit is contained in:
parent
c3d5072614
commit
cb714f46ec
@ -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.')
|
||||||
|
Loading…
Reference in New Issue
Block a user