website/app/feed/rss/route.ts
2026-11-20 09:11:13 -08:00

12 lines
291 B
TypeScript

import { buildFeed } from "utils/buildFeed";
export const revalidate = false;
export async function GET() {
return new Response(buildFeed().rss2(), {
headers: {
"Content-Type": "application/rss+xml; charset=utf-8",
"Cache-Control": "public, max-age=3600",
},
});
}