summaryrefslogtreecommitdiffstats
path: root/js/logout.js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-17 00:13:40 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-17 00:13:40 +0200
commitfc66b376cb3a2c73843cc882d500cfd743c0790e (patch)
treec94ab426742180e88100629102fa7c21eb820a58 /js/logout.js
parentHandlers moved from HTML to JS (diff)
downloadbeziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar
beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar.gz
beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar.bz2
beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar.lz
beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar.xz
beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar.zst
beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.zip
Diffstat (limited to 'js/logout.js')
-rw-r--r--js/logout.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/js/logout.js b/js/logout.js
deleted file mode 100644
index f9c2543..0000000
--- a/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");
-});