idk.....
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
//remove service worker and reload page
|
|
||||||
if ("serviceWorker" in navigator) {
|
|
||||||
navigator.serviceWorker.getRegistrations().then(function (registrations) {
|
|
||||||
for (let registration of registrations) {
|
|
||||||
registration.unregister();
|
|
||||||
}
|
|
||||||
window.location.reload();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user