1 line
130 B
JavaScript
1 line
130 B
JavaScript
document.addEventListener("DOMContentLoaded",(e=>{fetch("/api/user/isLoggedIn").then((e=>{e.ok||(window.location.href="./")}))})); |