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

QwikCityNetlifyOptions

(request: Request, context: Context) => Promise<Response>

Edit this section

PlatformNetlify

export interface PlatformNetlify extends Partial<Omit<Context, 'next' | 'cookies'>>

Extends: Partial<Omit<Context, 'next' | 'cookies'>>

Edit this section

QwikCityNetlifyOptions

export interface QwikCityNetlifyOptions extends ServerRenderOptions

Extends: ServerRenderOptions

Edit this section