diff --git a/internal/api/v1/favicon/favicon.go b/internal/api/v1/favicon/favicon.go index 92559bc4..3e86d515 100644 --- a/internal/api/v1/favicon/favicon.go +++ b/internal/api/v1/favicon/favicon.go @@ -67,6 +67,17 @@ func (res *fetchResult) OK() bool { return res.icon != nil } +func (res *fetchResult) ContentType() string { + if res.contentType == "" { + if bytes.HasPrefix(res.icon, []byte("