Skip to content

Commit d5dfe39

Browse files
authored
Merge pull request #1200 from stalgiag/contentTypeMetaAssetUpload
Add content-type to assets uploaded to s3
2 parents 6f2b3cd + e79ab18 commit d5dfe39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/modules/IDE/actions/uploader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function dropzoneSendingCallback(file, xhr, formData) {
8282
Object.keys(file.postData).forEach((key) => {
8383
formData.append(key, file.postData[key]);
8484
});
85-
formData.append('Content-type', '');
85+
formData.append('Content-type', file.type);
8686
formData.append('Content-length', '');
8787
formData.append('acl', 'public-read');
8888
}

0 commit comments

Comments
 (0)