API โบ @qwik.dev/qwik-router/middleware/netlify-edge
createQwikCity
Warning: This API is now obsolete.
Use
createQwikRouterinstead. Will be removed in V3
createQwikCity: typeof createQwikRouter;createQwikRouter
export declare function createQwikRouter(
opts: QwikRouterNetlifyOptions,
): (request: Request, context: Context) => Promise<Response>;Parameter
Type
Description
opts
(request: Request, context: Context) => Promise<Response>
PlatformNetlify
export interface PlatformNetlify extends Partial<Omit<Context, 'next' | 'cookies'>>Extends: Partial<Omit<Context, 'next' | 'cookies'>>
QwikCityNetlifyOptions
Warning: This API is now obsolete.
Use
QwikRouterNetlifyOptionsinstead. Will be removed in V3
export type QwikCityNetlifyOptions = QwikRouterNetlifyOptions;References: QwikRouterNetlifyOptions
QwikRouterNetlifyOptions
export interface QwikRouterNetlifyOptions extends ServerRenderOptionsExtends: ServerRenderOptions