Skip to content

Commit 46c7ddb

Browse files
committed
add missing hosts to icon proxy allowlist
Icons from camo.githubusercontent.com, Mozilla CDN, Brave, and Google Play were returning 403 due to missing allowlist entries, causing repeated uncached requests on every page load.
1 parent b028bc7 commit 46c7ddb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/routes/-worker-entry.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,13 @@ const ALLOWED_ICON_HOSTS = [
245245
"apt.izzysoft.de",
246246
"github.com",
247247
"raw.githubusercontent.com",
248+
"camo.githubusercontent.com",
248249
"gitlab.com",
249250
"codeberg.org",
250251
"avatars.githubusercontent.com",
252+
"assets-prod.sumo.prod.webservices.mozgcp.net",
253+
"brave.com",
254+
"play-lh.googleusercontent.com",
251255
];
252256

253257
const ICON_CACHE_SECONDS = 7 * 24 * 60 * 60; // 7 days

0 commit comments

Comments
 (0)