Files
sqlalchemy-fastapi-pydentic…/server/front/main/js.js
2025-09-19 18:17:31 +03:00

4 lines
115 B
JavaScript

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