logout page

This commit is contained in:
2024-09-28 23:27:21 +02:00
parent 13265e1ef3
commit de0ef9dd69
3 changed files with 47 additions and 0 deletions

4
static/js/logout.js Normal file
View File

@@ -0,0 +1,4 @@
setTimeout(async () => {
await fetch("/logout", {method: "POST"});
window.location.href = "/";
}, 3000);