mirror of
https://github.com/go-gitea/gitea
synced 2025-07-07 02:57:20 +00: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