ソースを参照

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
Julien Voisin 9 ヶ月 前
コミット
6c60d61f36
1 ファイル変更1 行追加1 行削除
  1. 1 1
      internal/reader/icon/finder.go

+ 1 - 1
internal/reader/icon/finder.go

@@ -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