This commit is contained in:
RochesterX
2025-11-18 21:16:35 -05:00
parent 908129e38f
commit 9e88712e9f
21 changed files with 235 additions and 120 deletions

View File

@@ -10,7 +10,7 @@ if (loginForm) loginForm.onsubmit = async e => {
});
alert(resultObject.message);
if (resultObject.success) {
window.location.href = "home.html"
window.location.href = "/home"
localStorage.setItem("token", resultObject.token);
}
};