- CorsFeature (webserver.cors) Configuration
Type: io.helidon.webserver.cors.CorsFeature
Config keycorscontent_copyThis type provides the following service implementations:
io.helidon.webserver.spi.ServerFeatureProvider
Configuration options
Optional configuration options
| key | type | default value | description |
|---|---|---|---|
enabled | boolean | true | This feature can be disabled. @return whether the feature is enabled |
sockets | string[] | List of sockets to register this feature on. If empty, it would get registered on all sockets. @return socket names to register on, defaults to empty (all available sockets) | |
weight | double | 950.0 | Weight of the CORS feature. As it is used by other features, the default is quite high: @return weight of the feature |