File Upload React Fetch to ExpressJS Server “fails” even though upload is succesfull
having a bug that I can’t wrap my brain around and hoping someone can assist.
req.body undefined unless multer is added to route definition
I want to dynamically change the uploads destination based on a string I get from req.body.slug
, so I am including multer inside the route like so: