Skip to content

Commit 92e7230

Browse files
committed
fix: remove force-dynamic to enable static generation for blog posts1
1 parent 94cf56f commit 92e7230

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { getBlogBySlug } from "@/lib/api";
44
import BlogDetailClient from "./blog-detail-client";
55

66
export const dynamicParams = true;
7+
export const dynamic = "force-dynamic";
78

89
interface BlogPageProps {
910
params: Promise<{

0 commit comments

Comments
 (0)