File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
import RSS from "rss" ;
2
2
import { retrievePostSummaries } from "@/lib/api" ;
3
3
4
+ export const dynamic = "force-static" ;
5
+
4
6
export async function GET ( ) {
5
7
const feed = new RSS ( {
6
8
title : "blog.daku10.dev" ,
Original file line number Diff line number Diff line change 1
1
import type { MetadataRoute } from "next" ;
2
2
import { retrievePostSummaries } from "@/lib/api" ;
3
3
4
+ export const dynamic = "force-static" ;
5
+
4
6
// TODO: can we create automatically?
5
7
export default async function sitemap ( ) : Promise < MetadataRoute . Sitemap > {
6
8
const lastModified = new Date ( ) ;
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ type Props = {
6
6
className ?: string ;
7
7
target ?: string ;
8
8
rel ?: string ;
9
+ onClick ?: ( ) => void ;
9
10
prefetch ?: boolean ;
10
11
} ;
11
12
You can’t perform that action at this time.
0 commit comments