summaryrefslogtreecommitdiffstats
path: root/dist/js/logout.js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 21:17:06 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 21:17:06 +0200
commit8cc2b856a47f7b1881171914147e6ddca7a8a02b (patch)
treeda1d9ccd3eae5e3bca0c7c0a91abe8889ed04613 /dist/js/logout.js
parentversion bunm + install (diff)
downloadbeziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar.gz
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar.bz2
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar.lz
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar.xz
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar.zst
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.zip
Diffstat (limited to '')
-rw-r--r--dist/js/logout.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/dist/js/logout.js b/dist/js/logout.js
index f9c2543..3f9f7ed 100644
--- a/dist/js/logout.js
+++ b/dist/js/logout.js
@@ -1,5 +1,2 @@
-// navigator.serviceWorker.controller.postMessage(JSON.stringify({action: "deletecaches"})); // cache only sets on initialization, so it should not be deleted.
-// since sw.js is not cached, updates work.
-localforage.clear().then(() => { // deletes localforage
- window.location.replace("/index.html");
-});
+
+localforage.clear().then(()=>{window.location.replace("/index.html");}); \ No newline at end of file