API › @builder.io/qwik-city/middleware/netlify-edge
createQwikCity
export declare function createQwikCity(
opts: QwikCityNetlifyOptions,
): (request: Request, context: Context) => Promise<Response>;
参数
类型
描述
opts
(request: Request, context: Context) => Promise<Response>
PlatformNetlify
export interface PlatformNetlify extends Partial<Omit<Context, 'next' | 'cookies'>>
扩展: Partial<Omit<Context, 'next' | 'cookies'>>
QwikCityNetlifyOptions
export interface QwikCityNetlifyOptions extends ServerRenderOptions
扩展: ServerRenderOptions