|
|
@@ -152,7 +152,7 @@ func (f *iconFinder) fetchIconsFromHTMLDocument() (*model.Icon, error) {
|
|
|
slog.Any("error", err),
|
|
|
)
|
|
|
} else if icon != nil {
|
|
|
- slog.Debug("Found icon from HTML document",
|
|
|
+ slog.Debug("Downloaded icon from HTML document",
|
|
|
slog.String("website_url", f.websiteURL),
|
|
|
slog.String("icon_url", iconURL),
|
|
|
)
|
|
|
@@ -196,7 +196,7 @@ func resizeIcon(icon *model.Icon) *model.Icon {
|
|
|
r := bytes.NewReader(icon.Content)
|
|
|
|
|
|
if !slices.Contains([]string{"image/jpeg", "image/png", "image/gif"}, icon.MimeType) {
|
|
|
- slog.Info("icon isn't a png/gif/jpeg/ico, can't resize", slog.String("mimetype", icon.MimeType))
|
|
|
+ slog.Info("icon isn't a png/gif/jpeg, can't resize", slog.String("mimetype", icon.MimeType))
|
|
|
return icon
|
|
|
}
|
|
|
|