Save avatars to le cloud in beforeSave hooks
Added encryption to uploads Updated icon for team settings
This commit is contained in:
@@ -68,6 +68,7 @@ export const uploadToS3FromUrl = async (url: string, key: string) => {
|
||||
Key: key,
|
||||
ContentType: res.headers['content-type'],
|
||||
ContentLength: res.headers['content-length'],
|
||||
ServerSideEncryption: 'AES256',
|
||||
Body: buffer,
|
||||
})
|
||||
.promise();
|
||||
|
||||
Reference in New Issue
Block a user