mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-30 15:10:11 +00:00
调整RSS方案,节省流量
This commit is contained in:
@@ -14,6 +14,16 @@ module.exports = withBundleAnalyzer({
|
||||
'images.unsplash.com'
|
||||
]
|
||||
},
|
||||
// 默认将feed重定向至 /public/rss/feed.xml
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: '/feed',
|
||||
destination: '/rss/feed.xml',
|
||||
permanent: true
|
||||
}
|
||||
]
|
||||
},
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user