KamoCRM

Properly forward multipart FormData and set route handler body size limit

Fixkamo-internal
Shipped
April 11, 2026 at 4:33 AM UTC
Author
kamo
Commit
e2b5914

- Revert to parsing FormData and rebuilding for forwarding (fixes MalformedStreamException from raw arrayBuffer forwarding) - Add routeHandlerBodySizeLimit: 500mb to next.config.mjs experimental config to allow large file uploads in route handlers

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing