mirror of
https://github.com/khairul169/garage-webui.git
synced 2026-09-15 00:43:21 +07:00
fix: make s3_region configurable to support values other than "garage"
This commit is contained in:
@@ -300,7 +300,7 @@ func getS3Client(bucket string) (*s3.Client, error) {
|
||||
|
||||
awsConfig := aws.Config{
|
||||
Credentials: creds,
|
||||
Region: "garage",
|
||||
Region: utils.Garage.GetS3Region(),
|
||||
BaseEndpoint: aws.String(utils.Garage.GetS3Endpoint()),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user