Skip to content

Commit 8170576

Browse files
authored
Merge pull request #11 from LooseWireDev/fix/icon-proxy-allowlist
Fix icon proxy allowlist for missing hosts
2 parents 7657861 + 46c7ddb commit 8170576

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)