Add Discord CDN avatars to allowed image sources (#322)

This commit is contained in:
Redox
2026-01-22 15:23:25 +01:00
committed by GitHub
parent 58c5e92155
commit ccd84385a2

View File

@@ -50,6 +50,11 @@ const config = {
protocol: "https",
hostname: "*.googleusercontent.com",
},
{
protocol: 'https',
hostname: 'cdn.discordapp.com',
pathname: '/avatars/**',
},
];
// Extract root domain from S3_ENDPOINT and add wildcard pattern