Skip to content

Commit fdf4d59

Browse files
authored
merge next.config files (#137)
1 parent 040e127 commit fdf4d59

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

next.config.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

next.config.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ export default {
55
output: "standalone",
66
reactStrictMode: true,
77
images: {
8-
domains: ['avatars.githubusercontent.com'], // 允许 GitHub 头像
8+
remotePatterns: [
9+
{
10+
protocol: 'https',
11+
hostname: 'avatars.githubusercontent.com',
12+
port: '',
13+
pathname: '/**',
14+
},
15+
],
916
},
1017
};

0 commit comments

Comments
 (0)