KamoCRM

Stream upload body directly to avoid Next.js 10MB body size limit

Fixkamo-internal
Shipped
11 ஏப்ரல், 2026 அன்று 4:05 AM UTC
Author
kamo
Commit
fcfd722

- Read request as arrayBuffer and forward raw bytes with content-type header instead of parsing FormData (which triggers Next.js body limit) - Add serverActions bodySizeLimit: 500mb in next.config.mjs - Add maxDuration: 300 for long-running conversion uploads

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