backpedal a bit on caching

This commit is contained in:
jake committed 2025-04-08 09:38:44 -04:00
1 parent 53d6f57699
commit 30b6e02b83
17 files changed
+373 -579

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
import { NextResponse } from "next/server";
import { buildFeed } from "../../lib/helpers/build-feed";
export const dynamic = "force-static";
@@ -5,7 +6,7 @@ export const dynamic = "force-static";
export const GET = async () => {
const feed = await buildFeed();
return new Response(feed.atom1(), {
return new NextResponse(feed.atom1(), {
headers: {
"content-type": "application/atom+xml; charset=utf-8",
},