Skip to content

Commit

Permalink
Update app-static-to-dynamic-error.md (vercel#50085)
Browse files Browse the repository at this point in the history
spelling error
  • Loading branch information
MarkAtOmniux authored and hydRAnger committed Jun 12, 2023
1 parent f1a70f6 commit 60d8c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors/app-static-to-dynamic-error.md
Expand Up @@ -10,7 +10,7 @@ This is a hard error by default as a path generated statically can't switch betw

Prevent usage of these dynamic server values conditionally which can cause the static/dynamic mode of the page to differ between build time and runtime.

Leverage `export const dynamic = 'force-static'` to ensure the page is handled statically regardless of the usage of dynamic server values. Alternatively if you prefer your page to allows be dynamic you can set `export const dynamic = 'force-dynamic'` and it won't attempt to have the page be statically generated.
Leverage `export const dynamic = 'force-static'` to ensure the page is handled statically regardless of the usage of dynamic server values. Alternatively, if you prefer your page to always be dynamic you can set `export const dynamic = 'force-dynamic'` and it won't attempt to have the page be statically generated.

### Useful Links

Expand Down

0 comments on commit 60d8c98

Please sign in to comment.