push admin panel changes

This commit is contained in:
Mikhail
2024-09-22 13:15:56 -04:00
parent c1d0292fe5
commit 74ddb93c0f
5 changed files with 34 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ async function AdminLogin() {
if (json.ok) {
localStorage.setItem("token", res.token);
window.location.pathname = "/admin/dashbrd.html";
window.location.pathname = "/admin/dashboard";
}
else {
if (json.message !== undefined)