fix: 静态资源配置添加 classpath:/static/ 回退路径,修复首页 500 错误

This commit is contained in:
mediabot-pt
2026-06-29 13:49:34 +08:00
parent 145f745e71
commit a5279e0a69

View File

@@ -24,7 +24,7 @@ spring:
web:
resources:
static-locations: file:${PAR_STATIC_PATH:./static/}
static-locations: file:${PAR_STATIC_PATH:./static/},classpath:/static/
flyway:
enabled: true