fix: The XML you provided was not well-formed with server-to-server S3 uploads larger than multi-part minimum
This commit is contained in:
@@ -103,7 +103,6 @@ export default class S3Storage extends BaseStorage {
|
|||||||
|
|
||||||
public store = async ({
|
public store = async ({
|
||||||
body,
|
body,
|
||||||
contentLength,
|
|
||||||
contentType,
|
contentType,
|
||||||
key,
|
key,
|
||||||
acl,
|
acl,
|
||||||
@@ -121,7 +120,8 @@ export default class S3Storage extends BaseStorage {
|
|||||||
Bucket: this.getBucket(),
|
Bucket: this.getBucket(),
|
||||||
Key: key,
|
Key: key,
|
||||||
ContentType: contentType,
|
ContentType: contentType,
|
||||||
ContentLength: contentLength,
|
// See bug, if used causes large files to hang: https://github.com/aws/aws-sdk-js-v3/issues/3915
|
||||||
|
// ContentLength: contentLength,
|
||||||
ContentDisposition: this.getContentDisposition(contentType),
|
ContentDisposition: this.getContentDisposition(contentType),
|
||||||
Body: body,
|
Body: body,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user