A server route that uses Static Site Generation (SSG) mode.
API
interface ServerRoutePrerender extends Omit<ServerRouteCommon, 'status'> {}
renderMode
Specifies that the route uses Static Site Generation (SSG) mode.
fallback
undefined
Fallback cannot be specified unless getPrerenderParams
is used.
path
string
The path associated with this route.
headers
Record<string, string> | undefined
Optional additional headers to include in the response for this route.
Jump to details