JWT token 1.1

This commit is contained in:
2025-09-19 21:01:43 +03:00
parent 6b7a57dc6d
commit e2ab53e89d

View File

@@ -1,4 +1,4 @@
const token = localStorage.getItem("token");
if (!token) {
window.location.href = "./../register/index.html";
window.location.href = "./../login/index.html";
}