Skip to content

Commit ba5e0b8

Browse files
committed
update from domains to remotePatterns
1 parent db72a9e commit ba5e0b8

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

next.config.mjs

+17-5
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,23 @@ const nextConfig = {
2727
},
2828
reactStrictMode: true,
2929
images: {
30-
domains: [
31-
'*.googleusercontent.com',
32-
'raw.githubusercontent.com',
33-
'avatars.githubusercontent.com',
34-
],
30+
remotePatterns: [
31+
{
32+
protocol: 'https',
33+
hostname: '**.googleusercontent.com',
34+
port: '',
35+
},
36+
{
37+
protocol: 'https',
38+
hostname: 'raw.githubusercontent.com',
39+
port: '',
40+
},
41+
{
42+
protocol: 'https',
43+
hostname: 'avatars.githubusercontent.com',
44+
port: '',
45+
},
46+
]
3547
},
3648
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
3749
async redirects() {

0 commit comments

Comments
 (0)