From f9b16cd6aba68afc782ec7e5ac7075e134135512 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Thu, 7 May 2020 01:39:41 -0400 Subject: 404 for favicon.ico --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index d8ca245..c71cb3b 100644 --- a/main.go +++ b/main.go @@ -24,6 +24,9 @@ func main() { mux := http.NewServeMux() mux.HandleFunc("/", validateRequest) + mux.HandleFunc("/favicon.ico", func(w http.ResponseWriter, r *http.Request) { + http.Error(w, "404 Not Found", http.StatusNotFound) + }) server := &http.Server{ Addr: ":9999", -- cgit 1.4.1-2-gfad0