Record: CorsConfig
Configurations for CORS support.
Closed record
Fields
- allowHeaders string[ ](default [])
- allowMethods string[ ](default [])
- allowOrigins string[ ](default [])
- exposeHeaders string[ ](default [])
- allowCredentials boolean(default false)
- maxAge decimal(default -1)
The array of allowed headers by the service
The array of allowed methods by the service
The array of origins with which the response is shared by the service
The allowlisted headers, which clients are allowed to access
Specifies whether credentials are required to access the service
The maximum duration to cache the preflight from client side