Skip to content

io.helidon.webserver.cors.CorsFeature

Description

Configuration of CORS feature

Configuration options

KeyTypeDefaultDescription
pathsList<CorsPathConfig>Per path configuration
weightDouble850.0Weight of the CORS feature
add-defaultsBooleantrueWhether to add a default path configuration, that matches all paths, GET, HEAD, POST methods, and allows all origins, methods, and headers
socketsList<String>List of sockets to register this feature on
enabledBooleanThis feature can be disabled
paths-discover-servicesBooleantrueWhether to enable automatic service discovery for paths

Usages


See the manifest for all available types.