Properties
Optional allowedHeaders
allowedHeaders?: string | string[]
Optional credentials
credentials?: boolean
Optional exposedHeaders
exposedHeaders?: string | string[]
Optional maxAge
maxAge?: number
Optional methods
methods?: string | string[]
Optional optionsSuccessStatus
optionsSuccessStatus?: number
Optional origin
Optional preflightContinue
preflightContinue?: boolean
https://github.com/expressjs/cors#configuration-options