[error msg] add hybrid option to a getStaticPaths error message (#8120)
This commit is contained in:
parent
b290f0a997
commit
442f946116
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ export const GetStaticPathsRequired = {
|
|||
'`getStaticPaths()` function is required for dynamic routes. Make sure that you `export` a `getStaticPaths` function from your dynamic route.',
|
||||
hint: `See https://docs.astro.build/en/core-concepts/routing/#dynamic-routes for more information on dynamic routes.
|
||||
|
||||
Alternatively, set \`output: "server"\` in your Astro config file to switch to a non-static server build. This error can also occur if using \`export const prerender = true;\`.
|
||||
Alternatively, set \`output: "server"\` or \`output: "hybrid"\` in your Astro config file to switch to a non-static server build. This error can also occur if using \`export const prerender = true;\`.
|
||||
See https://docs.astro.build/en/guides/server-side-rendering/ for more information on non-static rendering.`,
|
||||
} satisfies ErrorData;
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue