diff --git a/next.config.mjs b/next.config.mjs index 6440594..5520f9f 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -19,6 +19,10 @@ const nextConfig = { minimumCacheTTL: 86400, deviceSizes: [640, 750, 828, 1080, 1200, 1920], imageSizes: [16, 32, 48, 64, 96, 128, 256, 384], + // Critical: serve optimized images INLINE, not as attachments. Default + // changed to 'attachment' in Next 14 for SVG XSS protection — that + // broke our banner ads (browsers tried to download instead of render). + contentDispositionType: 'inline', }, // Performance: compress responses