Skip to content

Commit

Permalink
[Rewards 3.0] Allow staging card thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
zenparsing committed Jan 13, 2025
1 parent 471658a commit 7702255
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function faviconURL(item: UICardItem) {
function thumbnailURL(url: string) {
url = sanitizeURL(url)
try {
if (/(^|\.)brave\.com$/i.test(new URL(url).hostname)) {
if (/(^|\.)brave(software)?\.com$/i.test(new URL(url).hostname)) {
return `chrome://rewards-image/${url}`
}
return ''
Expand Down

0 comments on commit 7702255

Please sign in to comment.