mirror of
https://github.com/201206030/novel-plus.git
synced 2025-06-24 04:46:37 +00:00
fix: 生产环境web静态资源目录配置
This commit is contained in:
@ -3,12 +3,13 @@ spring:
|
||||
import: classpath:application-common-prod.yml
|
||||
|
||||
#静态文件路径配置
|
||||
resources:
|
||||
static-locations: file:${user.dir}/templates/${templates.name}/static/
|
||||
#thymeleaf模版路径配置
|
||||
thymeleaf:
|
||||
prefix: file:${user.dir}/templates/${templates.name}/html/
|
||||
suffix: .html
|
||||
web:
|
||||
resources:
|
||||
static-locations: file:${user.dir}/templates/${templates.name}/static/
|
||||
|
||||
#模版配置
|
||||
templates:
|
||||
|
Reference in New Issue
Block a user