diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-05-20 21:17:06 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-05-20 21:17:06 +0200 |
commit | 8cc2b856a47f7b1881171914147e6ddca7a8a02b (patch) | |
tree | da1d9ccd3eae5e3bca0c7c0a91abe8889ed04613 /dist/js/logout.js | |
parent | version bunm + install (diff) | |
download | beziapp-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.js | 7 |
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 |