fix: Add Supabase storage to Next.js images config
Allow next/image to optimize images from supaapi.cloud.fluffigewolke.de storage bucket.
This commit is contained in:
@@ -10,6 +10,15 @@ const nextConfig = {
|
|||||||
bodySizeLimit: '10mb',
|
bodySizeLimit: '10mb',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
images: {
|
||||||
|
remotePatterns: [
|
||||||
|
{
|
||||||
|
protocol: 'https',
|
||||||
|
hostname: 'supaapi.cloud.fluffigewolke.de',
|
||||||
|
pathname: '/storage/v1/object/public/**',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// Wrap with Sentry only if DSN is configured
|
// Wrap with Sentry only if DSN is configured
|
||||||
|
|||||||
Reference in New Issue
Block a user