File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ if ! [ -x "$(command -v aws)" ]; then
77 pip install --user awscli
88fi
99
10- aws --endpoint-url https://s3.mysterium.network s3 " $@ "
10+ aws --region hel1 -- endpoint-url https://hel1.your-objectstorage.com s3 " $@ "
Original file line number Diff line number Diff 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
6565func 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
You can’t perform that action at this time.
0 commit comments