CorsConfiguration interface
The settings for the CORS configuration of the service instance.
Properties
allow |
If credentials are allowed via CORS. |
headers | The headers to be allowed via CORS. |
max |
The max age to be allowed via CORS. |
methods | The methods to be allowed via CORS. |
origins | The origins to be allowed via CORS. |
Property Details
allowCredentials
If credentials are allowed via CORS.
allowCredentials?: boolean
Property Value
boolean
headers
The headers to be allowed via CORS.
headers?: string[]
Property Value
string[]
maxAge
The max age to be allowed via CORS.
maxAge?: number
Property Value
number
methods
The methods to be allowed via CORS.
methods?: string[]
Property Value
string[]
origins
The origins to be allowed via CORS.
origins?: string[]
Property Value
string[]