File tree 2 files changed +3
-4
lines changed
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
7
7
pip install --user awscli
8
8
fi
9
9
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() {
61
61
}
62
62
}
63
63
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
65
65
func NewClient () (* Storage , error ) {
66
66
customResolver := aws .EndpointResolverFunc (func (service , region string ) (aws.Endpoint , error ) {
67
67
return aws.Endpoint {
68
- URL : "https://s3.mysterium.network " ,
68
+ URL : "https://hel1.your-objectstorage.com " ,
69
69
SigningRegion : region ,
70
70
}, nil
71
71
})
72
72
73
73
cfg , err := config .LoadDefaultConfig (
74
74
context .TODO (),
75
- config .WithRegion ("eu-central-1" ),
76
75
config .WithEndpointResolver (customResolver ),
77
76
)
78
77
You can’t perform that action at this time.
0 commit comments