Node.js Busboy parse fields and files seperatly

前端 未结 1 1336
有刺的猬
有刺的猬 2021-02-04 17:46

I was wondering if it is possible to get Busboy to parse the fields and files separately. (I have removed bodyParser as you can fill the hard drive with temp files

相关标签:
1条回答
  • 2021-02-04 18:33

    Instead of

    form.on('finish', function () {
        next();
    });`
    

    try it with

    form.on('end', function () {
        next();
    });`   
    
    0 讨论(0)
提交回复
热议问题