We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app.use('/upload', function (req, res, next) { // imageVersions are taken from upload.configure() upload.fileHandler({ uploadDir: function () { return __dirname + '/public/uploads/' + req.body.uid }, uploadUrl: function () { return '/uploads/' + req.body.uid } })(req, res, next); }); app.use(express.bodyParser());
The text was updated successfully, but these errors were encountered:
Hi there, i have this problem too , you find something to fix it ?!
Sorry, something went wrong.
In my case, all the req.body was moved to req.fields.
No branches or pull requests
app.use('/upload', function (req, res, next) {
// imageVersions are taken from upload.configure()
upload.fileHandler({
uploadDir: function () {
return __dirname + '/public/uploads/' + req.body.uid
},
uploadUrl: function () {
return '/uploads/' + req.body.uid
}
})(req, res, next);
});
app.use(express.bodyParser());
The text was updated successfully, but these errors were encountered: