Merge pull request #3063 from izeye/patch-11

* patch-11:
  Add default value for endpoints.cors.max-age
This commit is contained in:
Stephane Nicoll
2015-05-29 09:45:51 +02:00

View File

@@ -602,7 +602,7 @@ content into your application; rather pick only the properties that you need.
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.
endpoints.cors.exposed-headers= # comma-separated list of headers to include in a response.
endpoints.cors.max-age= # how long, in seconds, the response from a pre-flight request can be cached by clients.
endpoints.cors.max-age=1800 # how long, in seconds, the response from a pre-flight request can be cached by clients.
# HEALTH INDICATORS (previously health.*)
management.health.db.enabled=true