跳到主要内容
版本:Next

CORSOptions

Index

Properties

allowHeaders

allowHeaders: string | string[]

allowMethods

allowMethods: string | string[]

credentials

credentials: boolean | Function

exposeHeaders

exposeHeaders: string | string[]

keepHeadersOnError

keepHeadersOnError: boolean

maxAge

maxAge: number

origin

origin: string | Function