1
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

View File

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