Skip to content

Commit 7902e35

Browse files
committed
Update route.ts
1 parent daa4069 commit 7902e35

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/docs/app/rss.xml/route.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,9 @@ export const GET = () => {
3333

3434
const rss = feed.rss2();
3535

36-
return new Response(rss);
36+
return new Response(rss, {
37+
headers: {
38+
"Content-Type": "application/rss+xml",
39+
},
40+
});
3741
};

0 commit comments

Comments
 (0)