The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

Skip to main content

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:118


credentials#

Optional credentials: boolean

Defined in#

packages/types/src/config.ts:120


exposedHeaders#

Optional exposedHeaders: string[]

Defined in#

packages/types/src/config.ts:119


maxAge#

Optional maxAge: number

Defined in#

packages/types/src/config.ts:121


optionsSuccessStatus#

Optional optionsSuccessStatus: number

Defined in#

packages/types/src/config.ts:123


origin#

Optional origin: any

Defined in#

packages/types/src/config.ts:117


preflightContinue#

Optional preflightContinue: boolean

Defined in#

packages/types/src/config.ts:122