Skip to content

Commit

Permalink
feat: show higher resolution for bookmark favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed Mar 9, 2023
1 parent 25fe2d3 commit 97f3a75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/popup/utils/faviconUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ import webExtension from 'webextension-polyfill'
export function faviconUrl(pageUrl: string) {
const url = new URL(webExtension.runtime.getURL('/_favicon/'))
url.searchParams.set('pageUrl', pageUrl)
url.searchParams.set('size', '32')
return url.toString()
}

0 comments on commit 97f3a75

Please sign in to comment.