Add @csrf.exempt to all API routes in app/api/routes.py and app/upload/routes.py
- Added CSRF exemption to all JWT-authenticated API endpoints - API routes use JWT tokens, not session cookies, so CSRF protection is not needed
Showing
Please
register
or
sign in
to comment