fix(deploy): 管理端不再校验 /files/episode 播放签名

admin-api 镜像固定 prod profile,application-prod.yml 把 signature-required 硬编码为 true,导致管理端分集页直接播放裸媒资地址时被 MediaSignatureFilter 拦成 403,视频不显示。管理端仅内网访问,这里将 protected-prefixes 置空;公开的 app-api 仍保持签名校验。
This commit is contained in:
Zhou Weidong authored and trae-solo-agent committed 2026-10-21 10:17:48 +08:00
1 parent 82dd899ad0
commit 64ddfe8cae
1 file changed
+3
+3
View File
@@ -103,6 +103,9 @@ services:
SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE: "2GB"
CORS_ALLOWED_ORIGINS: "http://localhost:3005,http://127.0.0.1:3005,http://39.162.50.99:3005,http://192.168.31.250:3005"
DB_URL: ${DB_URL:-jdbc:postgresql://db:5432/${DB_NAME:-fruitshorts}}
# 管理端仅内网,页面上直接播放/下载裸媒资地址(不签播放签名),
# 因此这里不启用 /files/episode/** 的签名校验;公开的 app-api 仍保持开启。
FRUITSHORTS_MEDIA_PROTECTED_PREFIXES: ""
ports:
# docs/12-上线检查清单「管理端仅内网」:只对局域网开放;不在路由器做端口转发,公网访问不到
- "8080:8080"