1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-23 12:06:07 -05:00

backpedal a bit on caching

This commit is contained in:
2025-04-08 09:38:44 -04:00
parent 53d6f57699
commit 30b6e02b83
17 changed files with 373 additions and 579 deletions

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",
},