Skip to content

Commit

Permalink
fix(logo-favicon): pass resolveFaviconUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jul 25, 2024
1 parent 0a06dd8 commit 92d1030
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/metascraper-logo-favicon/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,11 @@ module.exports = ({
logo: [
toLogo(async ($, url) => {
const sizes = getSizes($, sizeSelectors, url)
return await pickFn(sizes, { gotOpts, pickBiggerSize })
return await pickFn(sizes, {
resolveFaviconUrl,
gotOpts,
pickBiggerSize
})
}),
({ url }) => getLogo(normalizeUrl(url)),
rootFavicon
Expand Down

0 comments on commit 92d1030

Please sign in to comment.