my-portfolio/dist/editor/js/editor.js

1 line
130 B
JavaScript
Raw Normal View History

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