summaryrefslogtreecommitdiffstats
path: root/dist/js/assets/js/logout.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/js/assets/js/logout.js')
-rwxr-xr-xdist/js/assets/js/logout.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/dist/js/assets/js/logout.js b/dist/js/assets/js/logout.js
deleted file mode 100755
index f9c2543..0000000
--- a/dist/js/assets/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");
-});