Description

Configuration of CORS for a specific path.

Usages

Configuration options

KeyKindTypeDefault ValueDescription
allow-credentialsVALUEBooleanfalseWhether to allow credentials
allow-headersLISTString*Set of allowed headers, defaults to all
allow-methodsLISTString*Set of allowed methods, defaults to all
allow-originsLISTString*Set of allowed origins, defaults to all
enabledVALUEBooleantrueWhether this CORS configuration should be enabled or not
expose-headersLISTString Set of exposed headers, defaults to none
max-ageVALUEi.h.w.c.C.PathCustomMethodsPT1HMax age as a duration
path-patternVALUEString Path pattern to apply this configuration for

See the manifest for all available types.