summaryrefslogtreecommitdiffstats
path: root/dist/js/js/logout.js
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-17 12:35:12 +0200
committerrstular <rok@stular.eu>2020-05-17 12:35:12 +0200
commit7b7c7c469a02b9b4209d959b06613a6f176cf32b (patch)
tree70f92efdb6243c45326969a7774053357944f4c8 /dist/js/js/logout.js
parentMerge branch 'dev' of github.com:beziapp/beziapp.github.io into dev (diff)
downloadbeziapp-7b7c7c469a02b9b4209d959b06613a6f176cf32b.tar
beziapp-7b7c7c469a02b9b4209d959b06613a6f176cf32b.tar.gz
beziapp-7b7c7c469a02b9b4209d959b06613a6f176cf32b.tar.bz2
beziapp-7b7c7c469a02b9b4209d959b06613a6f176cf32b.tar.lz
beziapp-7b7c7c469a02b9b4209d959b06613a6f176cf32b.tar.xz
beziapp-7b7c7c469a02b9b4209d959b06613a6f176cf32b.tar.zst
beziapp-7b7c7c469a02b9b4209d959b06613a6f176cf32b.zip
Diffstat (limited to 'dist/js/js/logout.js')
-rw-r--r--dist/js/js/logout.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/dist/js/js/logout.js b/dist/js/js/logout.js
deleted file mode 100644
index f9c2543..0000000
--- a/dist/js/js/logout.js
+++ /dev/null
@@ -1,5 +0,0 @@
-// 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");
-});