From 7702255f57dcc1d63fb7401556c04aa8dc8592b2 Mon Sep 17 00:00:00 2001 From: zenparsing Date: Mon, 13 Jan 2025 11:03:14 -0500 Subject: [PATCH] [Rewards 3.0] Allow staging card thumbnails --- .../rewards_page/components/explore/card_item_view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/brave_rewards/resources/rewards_page/components/explore/card_item_view.tsx b/components/brave_rewards/resources/rewards_page/components/explore/card_item_view.tsx index ba62a4e6e7b5..e0378fe32937 100644 --- a/components/brave_rewards/resources/rewards_page/components/explore/card_item_view.tsx +++ b/components/brave_rewards/resources/rewards_page/components/explore/card_item_view.tsx @@ -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 ''