头像读取Notion

This commit is contained in:
tangly1024
2022-05-11 10:59:37 +08:00
parent ce046bff22
commit c5167d9fdd
10 changed files with 52 additions and 66 deletions

View File

@@ -6,12 +6,13 @@ module.exports = withBundleAnalyzer({
webpack5: true
},
images: {
// 允许next/image加载的图片 域名
domains: [
'gravatar.com',
'www.notion.so',
'avatars.githubusercontent.com',
'images.unsplash.com'
] // 允许next/image加载的图片 域名
]
},
async headers() {
return [