mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
サーバーへの接続が不安定な時にサインアウトしないように
This commit is contained in:
parent
5fb1e0086e
commit
722e7006fb
@ -265,7 +265,7 @@ export default class MiOS extends EventEmitter {
|
||||
// When success
|
||||
.then(res => {
|
||||
// When failed to authenticate user
|
||||
if (res.status !== 200) {
|
||||
if (res.status !== 200 && res.status < 500) {
|
||||
return this.signout();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user