stream-fusion-better/stream_fusion/web/api/config/__init__.py
LimeDrive 0f310a958f feat(api): add config encoding endpoint with CSRF protection
Implement POST /encode endpoint for encrypting user configuration tokens.
Uses Fernet encryption with automatic Base64 fallback when CONFIG_SECRET_KEY
is not set. Protected by signed CSRF token validation to prevent cross-site
attacks.
2026-03-30 02:23:41 +02:00

3 lines
70 B
Python

from stream_fusion.web.api.config import views
router = views.router