микрофикс
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){
|
if(!response.ok){
|
||||||
window.location.href = '/'
|
window.location.href = '/login'
|
||||||
return(response.status)
|
return(response.status)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ export async function UserCheck(){
|
||||||
if (response.ok)
|
if (response.ok)
|
||||||
{
|
{
|
||||||
console.log("ты вышел, лох");
|
console.log("ты вышел, лох");
|
||||||
window.location.href = '/'
|
window.location.href = '/login'
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
console.error('Не вышел, лошара');
|
console.error('Не вышел, лошара');
|
||||||
|
|
|
@ -171,7 +171,6 @@
|
||||||
.MsgMsg{
|
.MsgMsg{
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
display: inline;
|
display: inline;
|
||||||
background-color: red;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue