Add Discord CDN avatars to allowed image sources (#322)
This commit is contained in:
@@ -50,6 +50,11 @@ const config = {
|
|||||||
protocol: "https",
|
protocol: "https",
|
||||||
hostname: "*.googleusercontent.com",
|
hostname: "*.googleusercontent.com",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
protocol: 'https',
|
||||||
|
hostname: 'cdn.discordapp.com',
|
||||||
|
pathname: '/avatars/**',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
// Extract root domain from S3_ENDPOINT and add wildcard pattern
|
// Extract root domain from S3_ENDPOINT and add wildcard pattern
|
||||||
|
|||||||
Reference in New Issue
Block a user