Config key
cors

This type provides the following service implementations:

  • io.helidon.webserver.spi.ServerFeatureProvider

Configuration options

Table 1. Required configuration options
key type default value description

enabled

boolean

 

This feature can be disabled.

Table 2. 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: CorsFeature.WEIGHT.