mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-29 04:04:02 +03:00
Add ContentType to uploaded s3 images (SPA)
This commit is contained in:
parent
0a22b6111a
commit
d2c1e5b513
@ -33,7 +33,8 @@ export default class S3Client {
|
||||
Bucket: bucket,
|
||||
Key: filename,
|
||||
Body: buffer,
|
||||
ACL: 'public-read'
|
||||
ACL: 'public-read',
|
||||
ContentType: buffer.type
|
||||
};
|
||||
return new Promise((resolve, reject) => {
|
||||
if (!this.s3) {
|
||||
|
Loading…
Reference in New Issue
Block a user