adding support for B2 region (#4177)

Co-authored-by: Muhammad Hallaj bin Subery <hallaj@tuta.io>
This commit is contained in:
Muhammad Hallaj bin SuberyandMuhammad Hallaj bin Subery authored and GitHub committed 2023-02-05 21:24:21 -08:00
1 parent 84e9934bf9
commit 9bd422d2c9
19 files changed
+158 -121

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ func (s BackBlazeRemoteStorageMaker) Make(conf *remote_pb.RemoteConf) (remote_st
}
config := &aws.Config{
Endpoint: aws.String(conf.BackblazeEndpoint),
Region: aws.String("us-west-002"),
Region: aws.String(conf.BackblazeRegion),
S3ForcePathStyle: aws.Bool(true),
S3DisableContentMD5Validation: aws.Bool(true),
}