Improve documentation of cors settings.

See gh-2936
This commit is contained in:
Stephane Nicoll
2015-05-15 08:45:15 +02:00
parent b45a2bcfc0
commit d63d2dded8
2 changed files with 9 additions and 6 deletions

View File

@@ -552,7 +552,7 @@ content into your application; rather pick only the properties that you need.
endpoints.trace.enabled=true
# ENDPOINTS CORS CONFIGURATION ({sc-spring-boot-actuator}/autoconfigure/MvcEndpointCorsProperties.{sc-ext}[MvcEndpointCorsProperties])
endpoints.cors.allow-credentials= # whether user credentials are support. When not set, credentials are not supported.
endpoints.cors.allow-credentials= # set whether user credentials are support. When not set, credentials are not supported.
endpoints.cors.allowed-origins= # comma-separated list of origins to allow. * allows all origins. When not set, CORS support is disabled.
endpoints.cors.allowed-methods= # comma-separated list of methods to allow. * allows all methods. When not set, defaults to GET.
endpoints.cors.allowed-headers= # comma-separated list of headers to allow in a request. * allows all headers.