Reference
StartServerOptions
Configures the Node HTTP server used to serve a built app-router output.
Signature
interface StartServerOptionsMembers
allowedHosts?: readonly string[]errorHandler?: (error: unknown): { body: string; headers?: Record<string, string>; status: number }hostname?: stringhostPolicy?: RequestHostPolicyimportPolicy?: AppRouterImportPolicyinstrumentation?: RouterInstrumentationlogger?: AppRouterLoggeronResponse?: AppRouterResponseHookonUpgrade?: HttpUpgradeHandleroutDir: stringport: numberprerenderStore?: AppRouterPrerenderStorerouteCache?: AppRouterCacheserverActions?: AppRouterServerActionOptionssinkStrategy?: ResponseSinkStrategy