1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-16 18:01:37 +00:00

fix(icon): use rel=apple-touch-icon instead of rel=apple-touch-icon-precomposed.png

https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
This commit is contained in:
Julien Voisin 2025-08-15 04:32:50 +02:00 committed by GitHub
parent fa85a0eff4
commit 6c60d61f36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -255,7 +255,7 @@ func findIconURLsFromHTMLDocument(body io.Reader, contentType string) ([]string,
"link[rel='icon' i][href]",
"link[rel='shortcut icon' i][href]",
"link[rel='icon shortcut' i][href]",
"link[rel='apple-touch-icon-precomposed.png'][href]",
"link[rel='apple-touch-icon'][href]",
}
var iconURLs []string