Skip to content

Commit adcb965

Browse files
CopilotMQ37
andcommitted
Fix Next.js image configuration for Amazon product images
Co-authored-by: MQ37 <29043708+MQ37@users.noreply.github.com>
1 parent ef60bdb commit adcb965

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

ecomm-demo/next.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ const nextConfig: NextConfig = {
1111
protocol: "https",
1212
hostname: "apify.com",
1313
},
14+
{
15+
protocol: "https",
16+
hostname: "m.media-amazon.com",
17+
},
18+
{
19+
protocol: "https",
20+
hostname: "images-na.ssl-images-amazon.com",
21+
},
22+
{
23+
protocol: "https",
24+
hostname: "via.placeholder.com",
25+
},
1426
],
1527
},
1628
};

0 commit comments

Comments
 (0)