From f6dc432419d3ae695ebb133c605ec61d231aa82d Mon Sep 17 00:00:00 2001 From: yusing Date: Sat, 1 Mar 2025 15:50:50 +0800 Subject: [PATCH] refactor: fix code formatting and return flow --- internal/api/v1/favicon/favicon.go | 3 +-- internal/api/v1/list.go | 4 ++-- internal/route/rules/on_test.go | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/api/v1/favicon/favicon.go b/internal/api/v1/favicon/favicon.go index 4c5d8f1..5376644 100644 --- a/internal/api/v1/favicon/favicon.go +++ b/internal/api/v1/favicon/favicon.go @@ -36,9 +36,8 @@ func (res *fetchResult) ContentType() string { if res.contentType == "" { if bytes.HasPrefix(res.icon, []byte("