mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-25 16:11:53 +08:00
fix some bug and standardize the code (#2)
This commit is contained in:
@@ -26,7 +26,6 @@ func (revsuit *Revsuit) registerPlatformRouter() {
|
||||
if !(c.Request.Header.Get("Token") == revsuit.http.Token || err == nil && cookieToken.Value == revsuit.http.Token) {
|
||||
c.Abort()
|
||||
c.Status(403)
|
||||
return
|
||||
}
|
||||
})
|
||||
revsuit.http.ApiGroup = api
|
||||
|
||||
Reference in New Issue
Block a user