mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-11 18:45:41 +00:00
Fixed content type in rss feed
This commit is contained in:
parent
34992adb3f
commit
b46986e1e8
@ -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'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user