1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 19:28:27 -04:00
jarv.is/app/feed.atom/route.ts

14 lines
297 B
TypeScript

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