diff --git a/favicon.go b/favicon.go index ecaf60b33..19495b1d2 100644 --- a/favicon.go +++ b/favicon.go @@ -11,12 +11,12 @@ import ( ) //go:embed favicon.ico -var faviconICOBlob []byte +var faviconBlob []byte func faviconHandler(cacheTime time.Duration) (func(w http.ResponseWriter, r *http.Request), error) { return func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "image/x-icon") cacheHeaders(w, cacheTime) - w.Write(faviconICOBlob) + w.Write(faviconBlob) }, nil }