Skip to content

Commit c166de4

Browse files
committed
🔧 chore : Update images.remotePatterns configuration
Updated the images.remotePatterns configuration in next.config.js to use the new format with hostname and pathPattern properties. Related issue: YJU-OKURA#128
1 parent 8e84cd0 commit c166de4

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎next.config.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ module.exports = {
55
return config;
66
},
77
images: {
8-
domains: [
9-
'lh3.googleusercontent.com',
10-
'd3sbrbqucv1146.cloudfront.net',
11-
'd1s5j3nmszux84.cloudfront.net',
8+
remotePatterns: [
9+
{
10+
protocol: 'https',
11+
hostname: 'lh3.googleusercontent.com',
12+
},
13+
{
14+
protocol: 'https',
15+
hostname: 'd3sbrbqucv1146.cloudfront.net',
16+
},
1217
],
1318
},
1419
reactStrictMode: false,

0 commit comments

Comments
 (0)