diff --git a/storage/aws_s3.go b/storage/aws_s3.go index a534ffe1..bc7ec16c 100644 --- a/storage/aws_s3.go +++ b/storage/aws_s3.go @@ -22,12 +22,13 @@ import ( func NewAwsS3StorageProvider(clientId string, clientSecret string, region string, bucket string, endpoint string) oss.StorageInterface { sp := s3.New(&s3.Config{ - AccessID: clientId, - AccessKey: clientSecret, - Region: region, - Bucket: bucket, - Endpoint: endpoint, - ACL: awss3.BucketCannedACLPublicRead, + AccessID: clientId, + AccessKey: clientSecret, + Region: region, + Bucket: bucket, + Endpoint: endpoint, + S3Endpoint: endpoint, + ACL: awss3.BucketCannedACLPublicRead, }) return sp