1
0
Fork 0

Changed error message in NotFound handler.

This commit is contained in:
Alexander Andreev 2023-05-13 16:30:13 +04:00
parent 472ebf5891
commit 8497efd6e1
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ func NotFound(w http.ResponseWriter, r *http.Request) {
if !strings.Contains(r.UserAgent(), "curl") {
web.Error404(utils.MainSite(r.Host), w)
} else {
fmt.Fprintln(w, "deleted")
fmt.Fprintln(w, "file not found")
}
}