Skip to content

Commit

Permalink
Merge pull request #1 from kshitijdomadia/patch-2
Browse files Browse the repository at this point in the history
added remote patterns for image optimization
  • Loading branch information
kshitijdomadia authored Jul 31, 2024
2 parents f161a61 + fef343b commit ce9a592
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = withBundleAnalyzer(
withPWA({
reactStrictMode: true,
images: {
unoptimized: false,
remotePatterns: [
{
protocol: "http",
Expand All @@ -22,7 +23,12 @@ module.exports = withBundleAnalyzer(
{
protocol: "https",
hostname: "**"
}
},
{
protocol: 'https',
hostname: '**.supabase.co',
pathname: '/storage/v1/object/public/profile_images/**',
},
]
},
experimental: {
Expand Down

0 comments on commit ce9a592

Please sign in to comment.