CorsFeature (webserver.cors) Configuration

Type: io.helidon.webserver.cors.CorsFeature

Config key
cors
Copied

This type provides the following service implementations:

  • io.helidon.webserver.spi.ServerFeatureProvider

Configuration options

Required configuration options
keytypedefault valuedescription
enabled

boolean

 

This feature can be disabled.

Optional configuration options
keytypedefault valuedescription
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: 850.0.