Loading CHANGES.md +9 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,15 @@ To be released. [#162]: https://github.com/dahlia/fedify/issues/162 Version 1.2.3 ------------- Released on November 6, 2024. - The `fedify node` subcommand now can recognize multiple values of the `rel` attribute in the `<link>` HTML elements. Version 1.2.2 ------------- Loading cli/node.ts +2 −1 Original line number Diff line number Diff line Loading @@ -237,7 +237,8 @@ async function getFaviconUrl( ? value.slice(1, -1) : value; } if (attrs.rel !== "icon" && attrs.rel !== "apple-touch-icon") continue; const rel = attrs.rel?.toLowerCase()?.trim()?.split(/\s+/) ?? []; if (!rel.includes("icon") && !rel.includes("apple-touch-icon")) continue; if ("sizes" in attrs && attrs.sizes.match(/\d+x\d+/)) { const [w, h] = attrs.sizes.split("x").map((v) => Number.parseInt(v)); if (w < 38 || h < 19) continue; Loading Loading
CHANGES.md +9 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,15 @@ To be released. [#162]: https://github.com/dahlia/fedify/issues/162 Version 1.2.3 ------------- Released on November 6, 2024. - The `fedify node` subcommand now can recognize multiple values of the `rel` attribute in the `<link>` HTML elements. Version 1.2.2 ------------- Loading
cli/node.ts +2 −1 Original line number Diff line number Diff line Loading @@ -237,7 +237,8 @@ async function getFaviconUrl( ? value.slice(1, -1) : value; } if (attrs.rel !== "icon" && attrs.rel !== "apple-touch-icon") continue; const rel = attrs.rel?.toLowerCase()?.trim()?.split(/\s+/) ?? []; if (!rel.includes("icon") && !rel.includes("apple-touch-icon")) continue; if ("sizes" in attrs && attrs.sizes.match(/\d+x\d+/)) { const [w, h] = attrs.sizes.split("x").map((v) => Number.parseInt(v)); if (w < 38 || h < 19) continue; Loading