mirror of
https://gitee.com/novel_dev_team/novel
synced 2026-07-20 17:52:45 +08:00
首页优化
This commit is contained in:
@@ -3,9 +3,6 @@ server:
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
# url: jdbc:mysql://148.70.59.92:3306/books?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
# username: xiongxiaoyang
|
||||
# password: Lzslov123!
|
||||
url: jdbc:mysql://148.70.59.92:3306/books?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
username: xiongxiaoyang
|
||||
password: Lzslov123!
|
||||
@@ -17,7 +14,7 @@ spring:
|
||||
config: classpath:ehcache.xml
|
||||
thymeleaf:
|
||||
mode: LEGACYHTML5 #去除thymeleaf的html严格校验thymeleaf.mode=LEGACYHTML5
|
||||
cache: true # 是否开启模板缓存,默认true,建议在开发时关闭缓存,不然没法看到实时页面
|
||||
cache: true # 是否开启模板缓存,默认true,建议在开发时关闭缓存,不然没法看到实时
|
||||
freemarker:
|
||||
template-loader-path: classpath:/templates #设定freemarker文件路径 默认为src/main/resources/templatestemplate-loader-path=classpath:/templates
|
||||
charset: UTF-8 # 模板编码
|
||||
|
||||
Reference in New Issue
Block a user