Files
sqlalchemy-fastapi-pydentic…/server/front/main/js.js
2025-09-19 21:01:43 +03:00

4 lines
112 B
JavaScript

const token = localStorage.getItem("token");
if (!token) {
window.location.href = "./../login/index.html";
}