RA-#8 Fix deleteCache

This commit is contained in:
ostertun
2020-10-01 23:35:49 +02:00
parent 3e533f65fc
commit 246231fd0e
2 changed files with 3 additions and 1 deletions

View File

@@ -238,7 +238,8 @@ function deleteCache() {
return caches.delete(key);
}));
});
toastInfo('The serviceWorker and the cache were deleted. A new serviceWorker will be generated on the next refresh.');
toastInfo('Der serviceWorker und alle Caches wurden gelöscht. Die Seite lädt in wenigen Sekunden neu und erstellt damit neue Caches.', 10000);
setTimeout(function(){ location.reload(); }, 3000);
}
var pushesPossible = false;