docs: update link

This commit is contained in:
Manuel de la Peña
2025-01-13 17:57:04 +01:00
parent e6249971b8
commit 4c24f5c1d3

View File

@@ -53,7 +53,7 @@ func New(config ...Config) *Storage {
panic(fmt.Sprintf("unable to load SDK config, %v", err)) panic(fmt.Sprintf("unable to load SDK config, %v", err))
} }
// reference: https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/endpoints/#with-both // reference: https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-endpoints.html#with-both
sess := s3.NewFromConfig(awscfg, func(o *s3.Options) { sess := s3.NewFromConfig(awscfg, func(o *s3.Options) {
o.BaseEndpoint = aws.String(cfg.Endpoint) o.BaseEndpoint = aws.String(cfg.Endpoint)
o.EndpointResolverV2 = &resolverV2{} o.EndpointResolverV2 = &resolverV2{}