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
undefinedFallback cannot be specified unless getPrerenderParams is used.
path
stringThe path associated with this route.
headers
Record<string, string> | undefinedOptional additional headers to include in the response for this route.
Jump to details