Merge pull request #1200 from stalgiag/contentTypeMetaAssetUpload
Add content-type to assets uploaded to s3
This commit is contained in:
commit
d5dfe3937f
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ export function dropzoneSendingCallback(file, xhr, formData) {
|
||||||
Object.keys(file.postData).forEach((key) => {
|
Object.keys(file.postData).forEach((key) => {
|
||||||
formData.append(key, file.postData[key]);
|
formData.append(key, file.postData[key]);
|
||||||
});
|
});
|
||||||
formData.append('Content-type', '');
|
formData.append('Content-type', file.type);
|
||||||
formData.append('Content-length', '');
|
formData.append('Content-length', '');
|
||||||
formData.append('acl', 'public-read');
|
formData.append('acl', 'public-read');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue