mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-06 13:40:06 +00:00
🔖 [dashboard 0.9.17] 404 页面
This commit is contained in:
@@ -22,7 +22,7 @@ type AuthorizeOption struct {
|
||||
|
||||
func Authorize(opt AuthorizeOption) func(*gin.Context) {
|
||||
return func(c *gin.Context) {
|
||||
var code uint64 = http.StatusForbidden
|
||||
var code = http.StatusForbidden
|
||||
if opt.Guest {
|
||||
code = http.StatusBadRequest
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user