adminjs-upload
adminjs-upload copied to clipboard
ContentType AWS
When uploading a file to AWS, the ContentType of the uploaded file is not set properly. For example, the MimeType of an uploaded image to the edit page of a record is image/png but on S3, the ContentType is binary/octet-stream after the image upload to AWS in complete.
I managed to set the right ContentType for the upload by adding ContentType: file.type to the upload params inside the aws-provider.
Did I miss setting an option for the uploadFeature in my project or is this a bug?