update content
This commit is contained in:
parent
d22eb07a55
commit
339a4cb482
16 changed files with 166 additions and 264 deletions
12
app/feed/json/route.ts
Normal file
12
app/feed/json/route.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { buildFeed } from "utils/buildFeed";
|
||||
|
||||
export const revalidate = false;
|
||||
|
||||
export async function GET() {
|
||||
return new Response(buildFeed().json1(), {
|
||||
headers: {
|
||||
"Content-Type": "application/feed+json; charset=utf-8",
|
||||
"Cache-Control": "public, max-age=3600",
|
||||
},
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue