From 5faba1b5a94f49deef63b53320a5d08a073ef987 Mon Sep 17 00:00:00 2001 From: yusing Date: Tue, 21 Jan 2025 10:07:53 +0800 Subject: [PATCH] fix svg content type --- internal/api/v1/favicon/favicon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/v1/favicon/favicon.go b/internal/api/v1/favicon/favicon.go index 3e86d51..798d1db 100644 --- a/internal/api/v1/favicon/favicon.go +++ b/internal/api/v1/favicon/favicon.go @@ -69,7 +69,7 @@ func (res *fetchResult) OK() bool { func (res *fetchResult) ContentType() string { if res.contentType == "" { - if bytes.HasPrefix(res.icon, []byte("