summaryrefslogtreecommitdiffstats
path: root/dist/js/logout.js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-17 15:07:30 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-17 15:07:30 +0200
commit6cb957cc1f64123851ae28e37b601fe7b92e2658 (patch)
tree0248affb2ed2552d4adaa81ec98f20ffbac2a2d7 /dist/js/logout.js
parentGSEC bug fix - fetch teachers (diff)
downloadbeziapp-6cb957cc1f64123851ae28e37b601fe7b92e2658.tar
beziapp-6cb957cc1f64123851ae28e37b601fe7b92e2658.tar.gz
beziapp-6cb957cc1f64123851ae28e37b601fe7b92e2658.tar.bz2
beziapp-6cb957cc1f64123851ae28e37b601fe7b92e2658.tar.lz
beziapp-6cb957cc1f64123851ae28e37b601fe7b92e2658.tar.xz
beziapp-6cb957cc1f64123851ae28e37b601fe7b92e2658.tar.zst
beziapp-6cb957cc1f64123851ae28e37b601fe7b92e2658.zip
Diffstat (limited to 'dist/js/logout.js')
-rw-r--r--dist/js/logout.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/dist/js/logout.js b/dist/js/logout.js
deleted file mode 100644
index f9c2543..0000000
--- a/dist/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");
-});