fix: 配置文件路径改为 ./data/static(容器内可写)

This commit is contained in:
mediabot-pt
2026-06-29 22:50:14 +08:00
parent 64c2ec7700
commit 377aa90c96

View File

@@ -24,7 +24,7 @@ spring:
web: web:
resources: resources:
static-locations: file:${PAR_STATIC_PATH:./static/},classpath:/static/ static-locations: file:${PAR_STATIC_PATH:./data/static/},classpath:/static/
flyway: flyway:
enabled: true enabled: true
@@ -45,7 +45,7 @@ mybatis-plus:
par: par:
static: static:
path: ${PAR_STATIC_PATH:./static} path: ${PAR_STATIC_PATH:./data/static}
mediabot: mediabot:
psk: ${PAR_MEDIABOT_PSK:} psk: ${PAR_MEDIABOT_PSK:}
admin: admin: