Merge pull request #3063 from izeye/patch-11

* patch-11:
  Add default value for endpoints.cors.max-age
pull/3063/merge
Stephane Nicoll 10 years ago
commit c6ff911257

@ -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

Loading…
Cancel
Save