Next.js Discord

Discord Forum

setting limits to api routes

Unanswered
Stony gall posted this in #help-forum
Open in Discord
Stony gallOP
I'm streaming files from client to my next js api route by :
await request.formData()
I can't find a way to set limits to the incoming stream before it get finished.
by "limits" i mean the max file size for example.

0 Replies