Fix this Not Found message
Signed-off-by: Minecon724 <minecon724@noreply.git.m724.eu>
This commit is contained in:
parent
bbfc7ccb10
commit
9188b55ee2
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ func (ctx *Context) notFoundInternal(logMsg string, logErr error) {
|
|||
}
|
||||
|
||||
if !showHTML {
|
||||
ctx.plainTextInternal(3, http.StatusNotFound, []byte("Not found.\n"))
|
||||
ctx.plainTextInternal(3, http.StatusNotFound, []byte(http.StatusText(http.StatusNotFound)))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue