Skip to content

Commit 07328c5

Browse files
committed
fix: fix changelog pages
1 parent 4f25ab5 commit 07328c5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/blog/[...slug]/page.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ type Props = {
2020
params: { slug: string[] };
2121
};
2222

23+
export const dynamic = "force-static";
24+
2325
export async function generateStaticParams() {
2426
const articles = await getArticles();
2527
return articles

app/changelog/[...slug]/page.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ type Props = {
1010
params: { slug: string[] };
1111
};
1212

13+
export const dynamic = "force-static";
14+
1315
export async function generateStaticParams() {
1416
const changelogs = await getChangelogs();
1517
return changelogs

0 commit comments

Comments
 (0)