API โบ @qwik.dev/qwik-city/middleware/netlify-edge
createQwikCity
export declare function createQwikCity(
opts: QwikCityNetlifyOptions,
): (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
export interface QwikCityNetlifyOptions extends ServerRenderOptions
Extends: ServerRenderOptions