fix jss 0.149
All checks were successful
Build Docker / deploy (push) Successful in 55s
Build Docker / build (push) Successful in 35s

This commit is contained in:
2026-03-19 02:09:25 +03:00
parent 0e2a17a3e3
commit ea7bfc64f2
2 changed files with 53 additions and 57 deletions

View File

@@ -4,7 +4,7 @@ function getToken() {
function tokenCheck(){
const token = getToken();
if (token) {
window.location.href = "https://ru.homyk.space/main";
window.location.href = "https://ru.homyk.space/main/";
}
}
document.getElementById('loginForm').addEventListener('submit', async function (e) {
@@ -29,7 +29,7 @@ document.getElementById('loginForm').addEventListener('submit', async function (
// в sessionstorage до перезахода в браузер(
sessionStorage.setItem("token", data.access_token);
window.location.href = 'https://ru.homyk.space/main';
window.location.href = 'https://ru.homyk.space/main/';
} else { //парсинг и вывод ошибок, если есть
if (Array.isArray(data.detail)) {
const messages = data.detail.map(e => {