diff --git a/crates/avatars/src/cleanup.rs b/crates/avatars/src/cleanup.rs index cbf5ef1e..48b25f98 100644 --- a/crates/avatars/src/cleanup.rs +++ b/crates/avatars/src/cleanup.rs @@ -13,7 +13,7 @@ async fn main() -> anyhow::Result<()> { let bucket = { let region = s3::Region::Custom { - region: "s3".to_string(), + region: "auto".to_string(), endpoint: config.s3.endpoint.to_string(), }; diff --git a/crates/avatars/src/main.rs b/crates/avatars/src/main.rs index 863619d6..c8399086 100644 --- a/crates/avatars/src/main.rs +++ b/crates/avatars/src/main.rs @@ -179,7 +179,7 @@ async fn main() -> anyhow::Result<()> { let bucket = { let region = s3::Region::Custom { - region: "s3".to_string(), + region: "auto".to_string(), endpoint: config.s3.endpoint.to_string(), };