fix: 静态资源配置添加 classpath:/static/ 回退路径,修复首页 500 错误
This commit is contained in:
@@ -24,7 +24,7 @@ spring:
|
|||||||
|
|
||||||
web:
|
web:
|
||||||
resources:
|
resources:
|
||||||
static-locations: file:${PAR_STATIC_PATH:./static/}
|
static-locations: file:${PAR_STATIC_PATH:./static/},classpath:/static/
|
||||||
|
|
||||||
flyway:
|
flyway:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user