Skip to content

Commit 4db0ba0

Browse files
authored
fix rss.xml headers (#1239)
1 parent 1e50a41 commit 4db0ba0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/svelte.dev/src/routes/blog/rss.xml/+server.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ const get_rss = async (posts) => {
6262
export async function GET() {
6363
return new Response(await get_rss(index.blog.children), {
6464
headers: {
65-
'Cache-Control': `max-age=${30 * 60 * 1e3}`,
66-
'Content-Type': 'application/rss+xml'
65+
'Content-Type': 'application/xml'
6766
}
6867
});
6968
}

0 commit comments

Comments
 (0)