mirror of https://github.com/Xhofe/alist
🐛 fix 189 logged in but get error
parent
be03e34406
commit
86ff80885d
|
@ -108,7 +108,7 @@ func (driver Cloud189) Login(account *model.Account) error {
|
|||
return err
|
||||
}
|
||||
// 已经登陆
|
||||
if res.StatusCode() == 302 {
|
||||
if res.RawResponse.Request.URL.String() == "https://cloud.189.cn/web/main" {
|
||||
return nil
|
||||
}
|
||||
b = res.String()
|
||||
|
|
Loading…
Reference in New Issue