Skip to main content

types_src.yamlconfig.corsconfig

Interface: CorsConfig#

types/src.YamlConfig.CorsConfig

Configuration for CORS

Table of contents#

Properties#

Properties#

allowedHeaders#

Optional allowedHeaders: string[]

Defined in: packages/types/src/config.ts:103


credentials#

Optional credentials: boolean

Defined in: packages/types/src/config.ts:105


exposedHeaders#

Optional exposedHeaders: string[]

Defined in: packages/types/src/config.ts:104


maxAge#

Optional maxAge: number

Defined in: packages/types/src/config.ts:106


optionsSuccessStatus#

Optional optionsSuccessStatus: number

Defined in: packages/types/src/config.ts:108


origin#

Optional origin: any

Defined in: packages/types/src/config.ts:102


preflightContinue#

Optional preflightContinue: boolean

Defined in: packages/types/src/config.ts:107