Skip to content

Commit 60e6f89

Browse files
committed
fix: rss
1 parent f9cac4e commit 60e6f89

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

next.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ let nextConfig = {
3838
source: '/feed',
3939
destination: '/feed.xml',
4040
},
41-
]
41+
];
4242
},
4343
productionBrowserSourceMaps: true,
4444
};

src/app/feed.xml/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export async function GET() {
2525
date: post.createdAt!,
2626
enclosure: {
2727
url: post.coverImage,
28+
type: 'image/jpeg',
2829
},
2930
});
3031
});

0 commit comments

Comments
 (0)