Files
EventSnap/backend
MechaCat02 ee7c703c13 fix: disable default 2MB body limit on upload route
Axum's DefaultBodyLimit defaults to 2MB. Uploaded photos/videos exceed
this and were rejected with 400 before reaching the handler. Disable the
body limit on POST /api/v1/upload — size validation is already enforced
inside the handler via max_image_size_mb / max_video_size_mb config.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 14:41:01 +02:00
..
2026-04-02 20:56:21 +02:00
2026-04-02 20:56:21 +02:00