mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-15 05:03:58 +09: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