You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{IncomingForm}from"formidable";exportdefaultdefineEventHandler(async(event)=>{event.node.req.on("data",(chunk)=>{// will not log when submit to /proxy/uploadconsole.log("data received",chunk);});constform=newIncomingForm({uploadDir: "./upload"});form.parse(event.node.req,(_,__,files)=>{// will not log when submit to /proxy/uploadconsole.log(files);});return"success";});
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
mac
Reproduction
https://codesandbox.io/p/devbox/pensive-poitras-3xsl4r?embed=1&file=%2Fserver%2Fapi%2Fv1%2Fupload.post.ts
Describe the bug
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: