1 Answer
- Newest
- Most votes
- Most comments
0
Check this out. By default the content type is set to application/octet-stream. If you want multer-s3 to automatically find the content-type of the file, use the multerS3.AUTO_CONTENT_TYPE constant.
https://www.npmjs.com/package/multer-s3-v2#setting-custom-content-type
answered a year ago
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked 6 months ago
- asked a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Hi, I am already using multerS3.AUTO_CONTENT_TYPE and it was working fine until now but it’s not working when I moved the node app to Api gateway and lambda.