From ba09f634323ffaf822a9076f21c3cbde221812d8 Mon Sep 17 00:00:00 2001 From: rstular Date: Wed, 29 Jan 2020 16:33:47 +0100 Subject: Added about page, login, logout, bug fixes --- js/logout.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 js/logout.js (limited to 'js/logout.js') diff --git a/js/logout.js b/js/logout.js new file mode 100644 index 0000000..8d2df62 --- /dev/null +++ b/js/logout.js @@ -0,0 +1,3 @@ +localforage.clear().then(() => { + window.location.replace("/index.html"); +}); \ No newline at end of file -- cgit v1.2.3