feat: API-ключ — фильтр X-API-Key на /api/**, /actuator открыт
Build Media Mirror API / Build and publish (release) Successful in 34s

- ключ из конфига (app.api-key), пустой = dev-режим без защиты
- 401 без/с неверным ключом, actuator не закрыт (k8s-пробы)
- добавлен spring-boot-starter-actuator
- тесты: 35 (401/200/actuator/dev-режим)
This commit is contained in:
Hermes Agent
2026-08-10 22:06:33 +03:00
parent ff72389ea6
commit 8d4a87f077
6 changed files with 111 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
app:
api-key: ${MIRROR_API_KEY:}
jellyfin:
url: https://jellyfin.binom.pw/
api-key: ${JELLYFIN_API_KEY}