микрофикс
This commit is contained in:
parent
74a9464e05
commit
e60c734c23
2 changed files with 2 additions and 3 deletions
|
@ -7,7 +7,7 @@ export async function UserCheck(){
|
|||
})
|
||||
|
||||
if(!response.ok){
|
||||
window.location.href = '/'
|
||||
window.location.href = '/login'
|
||||
return(response.status)
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ export async function UserCheck(){
|
|||
if (response.ok)
|
||||
{
|
||||
console.log("ты вышел, лох");
|
||||
window.location.href = '/'
|
||||
window.location.href = '/login'
|
||||
} else
|
||||
{
|
||||
console.error('Не вышел, лошара');
|
||||
|
|
|
@ -171,7 +171,6 @@
|
|||
.MsgMsg{
|
||||
word-wrap: break-word;
|
||||
display: inline;
|
||||
background-color: red;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue