Fixed content type in rss feed

This commit is contained in:
Ryan Freeman 2023-08-07 21:12:34 +01:00
parent 34992adb3f
commit b46986e1e8

View File

@ -49,7 +49,7 @@ export async function GET(req: NextRequest) {
return new Response(feed.rss2(), { return new Response(feed.rss2(), {
status: 200, status: 200,
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/xml'
} }
}) })
} }