mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: use history router mode
This commit is contained in:
@@ -91,7 +91,7 @@ func OneDriveOAuth(c *gin.Context) {
|
||||
queries.Add("msg", res.Msg)
|
||||
queries.Add("err", res.Error)
|
||||
redirect.RawQuery = queries.Encode()
|
||||
c.Redirect(301, "/#"+redirect.String())
|
||||
c.Redirect(301, "/"+redirect.String())
|
||||
} else {
|
||||
c.JSON(200, ErrorResponse(err))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user