mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
Merge pull request #2354 from tangly1024/deploy/preview.tangly1024.com
Deploy/preview.tangly1024.com
This commit is contained in:
@@ -54,6 +54,22 @@ function scanSubdirectories(directory) {
|
||||
}
|
||||
|
||||
const nextConfig = {
|
||||
images: {
|
||||
// 图片压缩
|
||||
formats: ['image/avif', 'image/webp'],
|
||||
// 允许next/image加载的图片 域名
|
||||
domains: [
|
||||
'gravatar.com',
|
||||
'www.notion.so',
|
||||
'avatars.githubusercontent.com',
|
||||
'images.unsplash.com',
|
||||
'source.unsplash.com',
|
||||
'p1.qhimg.com',
|
||||
'webmention.io',
|
||||
'ko-fi.com'
|
||||
]
|
||||
},
|
||||
|
||||
// 默认将feed重定向至 /public/rss/feed.xml
|
||||
async redirects() {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user