enabling multipart/form-data again
This commit is contained in:
parent
db3984021c
commit
0346cf11d8
@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
var qs = require('qs');
|
||||
//var multer = require('multer');
|
||||
var multer = require('multer');
|
||||
|
||||
/**
|
||||
* Extract the mime type from the given request's
|
||||
@ -141,5 +141,5 @@ exports.parse['application/json'] = function(req, options, fn){
|
||||
});
|
||||
};
|
||||
|
||||
// var multipartMiddleware = multer({ limits: { fieldSize: Infinity } });
|
||||
// exports.parse['multipart/form-data'] = multipartMiddleware.none();
|
||||
var multipartMiddleware = multer({ limits: { fieldSize: Infinity } });
|
||||
exports.parse['multipart/form-data'] = multipartMiddleware.none();
|
||||
|
Loading…
Reference in New Issue
Block a user