setting limits to api routes
Unanswered
Stony gall posted this in #help-forum
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.
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.