blob: b4b36bed6f908d88bc718aea9244b250cc9c6dbd (
plain) (
tree)
|
|
navigator.serviceWorker.controller.postMessage(JSON.stringify({action: "deletecaches"})); // deletes cache
localforage.clear().then(() => { // deletes localforage
window.location.replace("/index.html");
});
|