Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
verzcar committed Oct 15, 2023
2 parents d25d889 + a45843d commit b18358f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions aws_s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,18 @@ func initS3Session(s3Config *S3RequestConfig) *s3Client {
},
},
),
config.WithEndpointResolverWithOptions(
aws.EndpointResolverWithOptionsFunc(
func(
service, region string,
options ...interface{},
) (aws.Endpoint, error) {
return aws.Endpoint{URL: s3Config.defaultBaseURL}, nil
},
),
),
)

if err != nil {
panic(err)
}
Expand Down

0 comments on commit b18358f

Please sign in to comment.