feat(cloudreve): auto remove trailing slash in address (#4492)

Co-authored-by: Andy Hsu <i@nn.ci>
This commit is contained in:
KAAAsS
2023-05-28 16:18:09 +08:00
committed by GitHub
parent 4369cbbac3
commit a80e21997c
2 changed files with 4 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func (d *Cloudreve) request(method string, path string, callback base.ReqCallbac
return d.request(method, path, callback, out)
}
}
return errors.New(r.Msg)
}
sess := cookie.GetCookie(resp.Cookies(), "cloudreve-session")