API › @builder.io/qwik-city/middleware/netlify-edge

createQwikCity

export declare function createQwikCity(
  opts: QwikCityNetlifyOptions,
): (request: Request, context: Context) => Promise<Response>;

參數

類型

說明

opts

QwikCityNetlifyOptions

(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

編輯此區塊