From ccd84385a26e668e5400241fb1fe9aafcc8956c8 Mon Sep 17 00:00:00 2001 From: Redox <69946827+wrefgtzweve@users.noreply.github.com> Date: Thu, 22 Jan 2026 15:23:25 +0100 Subject: [PATCH] Add Discord CDN avatars to allowed image sources (#322) --- apps/web/next.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index bd256b32..75681531 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -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