App Spec Static Site Cors
data class AppSpecStaticSiteCors(val allowCredentials: Boolean? = null, val allowHeaders: List<String>? = null, val allowMethods: List<String>? = null, val allowOrigins: AppSpecStaticSiteCorsAllowOrigins? = null, val exposeHeaders: List<String>? = null, val maxAge: String? = null)
Properties
Link copied to clipboard
Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is include
. This configures the Access-Control-Allow-Credentials header.
Link copied to clipboard
The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
Link copied to clipboard
The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
Link copied to clipboard
The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
Link copied to clipboard
The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.