Add content-type to assets uploaded to s3

This commit is contained in:
Stalgia Grigg 2019-10-21 12:54:56 -07:00
parent 6f2b3cd15d
commit e79ab18a0c

View file

@ -82,7 +82,7 @@ export function dropzoneSendingCallback(file, xhr, formData) {
Object.keys(file.postData).forEach((key) => {
formData.append(key, file.postData[key]);
});
formData.append('Content-type', '');
formData.append('Content-type', file.type);
formData.append('Content-length', '');
formData.append('acl', 'public-read');
}