mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-09-23 08:25:33 +08:00
Refactor error system (#33610)
This commit is contained in:
@ -29,7 +29,7 @@ func Home(ctx *context.Context) {
|
||||
uname := ctx.PathParam("username")
|
||||
|
||||
if strings.HasSuffix(uname, ".keys") || strings.HasSuffix(uname, ".gpg") {
|
||||
ctx.NotFound("", nil)
|
||||
ctx.NotFound(nil)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user