Description
Configuration of CORS feature.
Usages
Configuration options
| Key | Kind | Type | Default Value | Description |
|---|---|---|---|---|
add-defaults | VALUE | Boolean | true | Whether to add a default path configuration, that matches all paths, GET, HEAD, POST methods, and allows all origins, methods, and headers |
enabled | VALUE | Boolean | This feature can be disabled | |
paths | LIST | i.h.w.c.CorsPathConfig | Per path configuration | |
paths-discover-services | VALUE | Boolean | true | Whether to enable automatic service discovery for paths |
sockets | LIST | String | List of sockets to register this feature on | |
weight | VALUE | Double | 850.0 | Weight of the CORS feature |
See the manifest for all available types.