77456efb75
The security hardening commit changed allow_headers from ['*'] to ['Authorization', 'Content-Type'], but the frontend sends X-CSRF-Token on all POST/PUT/DELETE/PATCH requests and X-Telegram-Init-Data on all requests. The missing headers caused preflight OPTIONS requests to fail with 400 "Disallowed CORS origin".