1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 11:05:25 -04:00
jarv.is/app/feed.xml/route.ts
2025-03-07 14:56:49 -05:00

12 lines
275 B
TypeScript

import { buildFeed } from "../../lib/helpers/build-feed";
export const dynamic = "force-static";
export const GET = async () => {
return new Response((await buildFeed()).rss2(), {
headers: {
"content-type": "application/rss+xml; charset=utf-8",
},
});
};