mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-03-07 22:43:07 +00:00
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".