Skip to content

Commit

Permalink
perf: set force-static
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Sep 30, 2024
1 parent dcc56b4 commit e54ed36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export const viewport: Viewport = {
userScalable: false,
};

// export const dynamic = "force-static";
export const dynamic = "force-static";

export async function generateStaticParams() {
return locales.map((locale) => ({ locale }));
}
Expand Down

0 comments on commit e54ed36

Please sign in to comment.