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