diff options
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
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", |