From da8f3ec9b8d1348c16dc03e74bd5f6151ad97d86 Mon Sep 17 00:00:00 2001 From: izeye Date: Fri, 29 May 2015 07:03:03 +0900 Subject: [PATCH] Add default value for endpoints.cors.max-age Closes gh-3063 --- .../src/main/asciidoc/appendix-application-properties.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index 78210fd2ec..e76d577cac 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -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