Skip to content

Commit 02f46de

Browse files
committed
server: fix uploading to s3
Minio is now requiring the region to be "us-east-1".
1 parent b91fbb8 commit 02f46de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/tokens.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ impl BucketRegion {
1818
match *self {
1919
BucketRegion::S3 { ref region } => Ok(region.parse()?),
2020
BucketRegion::Custom { ref url } => Ok(Region::Custom {
21-
name: "custom".to_string(),
21+
name: "us-east-1".to_string(),
2222
endpoint: url.clone(),
2323
}),
2424
}

0 commit comments

Comments
 (0)