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