4 lines
112 B
JavaScript
4 lines
112 B
JavaScript
setTimeout(async () => {
|
|
await fetch("/logout", {method: "POST"});
|
|
window.location.href = "/";
|
|
}, 3000); |