- 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
Required configuration options
| key | type | default value | description |
|---|---|---|---|
enabled | boolean | This feature can be disabled. |
Optional configuration options
| key | type | default value | description |
|---|---|---|---|
sockets | string[] | List of sockets to register this feature on. If empty, it would get registered on all sockets. | |
weight | double | 850.0 | Weight of the CORS feature. As it is used by other features, the default is quite high: |