Skip to content

Commit b6a47d3

Browse files
authored
Merge pull request #6100 from mysteriumnetwork/new-s3
Update s3 endpoint
2 parents 49f7c9a + dbd453e commit b6a47d3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bin/s3

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if ! [ -x "$(command -v aws)" ]; then
77
pip install --user awscli
88
fi
99

10-
aws --endpoint-url https://s3.mysterium.network s3 "$@"
10+
aws --region hel1 --endpoint-url https://hel1.your-objectstorage.com s3 "$@"

ci/storage/s3.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,17 @@ func init() {
6161
}
6262
}
6363

64-
// NewClient returns *s3.Client, configured to work with https://s3.mysterium.network storage
64+
// NewClient returns *s3.Client, configured to work with s3 storage
6565
func NewClient() (*Storage, error) {
6666
customResolver := aws.EndpointResolverFunc(func(service, region string) (aws.Endpoint, error) {
6767
return aws.Endpoint{
68-
URL: "https://s3.mysterium.network",
68+
URL: "https://hel1.your-objectstorage.com",
6969
SigningRegion: region,
7070
}, nil
7171
})
7272

7373
cfg, err := config.LoadDefaultConfig(
7474
context.TODO(),
75-
config.WithRegion("eu-central-1"),
7675
config.WithEndpointResolver(customResolver),
7776
)
7877

0 commit comments

Comments
 (0)