mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Add check-template-location properties to appendix
Some were missing, some were named incorrectly. See gh-1827
This commit is contained in:
parent
5f80f3556b
commit
e1894c1c4b
@ -94,6 +94,7 @@ content into your application; rather pick only the properties that you need.
|
||||
spring.resources.add-mappings=true # if default mappings should be added
|
||||
|
||||
# THYMELEAF ({sc-spring-boot-autoconfigure}/thymeleaf/ThymeleafAutoConfiguration.{sc-ext}[ThymeleafAutoConfiguration])
|
||||
spring.thymeleaf.check-template-location=true
|
||||
spring.thymeleaf.prefix=classpath:/templates/
|
||||
spring.thymeleaf.suffix=.html
|
||||
spring.thymeleaf.mode=HTML5
|
||||
@ -104,7 +105,7 @@ content into your application; rather pick only the properties that you need.
|
||||
# FREEMARKER ({sc-spring-boot-autoconfigure}/freemarker/FreeMarkerAutoConfiguration.{sc-ext}[FreeMarkerAutoConfiguration])
|
||||
spring.freemarker.allowRequestOverride=false
|
||||
spring.freemarker.cache=true
|
||||
spring.freemarker.checkTemplateLocation=true
|
||||
spring.freemarker.check-template-location=true
|
||||
spring.freemarker.charSet=UTF-8
|
||||
spring.freemarker.contentType=text/html
|
||||
spring.freemarker.exposeRequestAttributes=false
|
||||
@ -129,7 +130,7 @@ content into your application; rather pick only the properties that you need.
|
||||
# VELOCITY TEMPLATES ({sc-spring-boot-autoconfigure}/velocity/VelocityAutoConfiguration.{sc-ext}[VelocityAutoConfiguration])
|
||||
spring.velocity.allowRequestOverride=false
|
||||
spring.velocity.cache=true
|
||||
spring.velocity.checkTemplateLocation=true
|
||||
spring.velocity.check-template-location=true
|
||||
spring.velocity.charSet=UTF-8
|
||||
spring.velocity.contentType=text/html
|
||||
spring.velocity.dateToolAttribute=
|
||||
|
Loading…
Reference in New Issue
Block a user