From 8497efd6e108fc22947e1b37d1dce697d59ab637 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 13 May 2023 16:30:13 +0400 Subject: [PATCH] Changed error message in NotFound handler. --- internal/http/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/http/handlers.go b/internal/http/handlers.go index 1853bca..da6fae5 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -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") } }