diff --git a/handler-index.go b/handler-index.go index cf0b064df1dea076774870545c8d23a6705923be..2beab742b4fb89b93301027c1abbe1ca48463883 100644 --- a/handler-index.go +++ b/handler-index.go @@ -12,6 +12,11 @@ import ( var indexTemplate = template.Must(template.ParseFS(templateFS, "templates/base.tpl", "templates/index.tpl")) func (h Handler) index(w http.ResponseWriter, r *http.Request) { + if r.URL.String() == "/favicon.ico" { + http.Error(w, "nothing to see here", http.StatusNotFound) + return + } + log.Println("handling", r.Method, r.URL, "from", r.RemoteAddr) if r.Method == "GET" {