Skip to content

Commit 599dc76

Browse files
fix s3_compatible upload fail (#1832)
1 parent e41d215 commit 599dc76

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

io-orbit/src/factory.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ async fn build_s3_compatible(
8484
.with_access_key_id(&s3_cfg.access_key_id)
8585
.with_secret_access_key(&s3_cfg.secret_access_key)
8686
.with_endpoint(&s3_cfg.endpoint_url)
87+
.with_allow_http(true)
8788
.with_virtual_hosted_style_request(false)
8889
.build()
8990
.map_err(|e| MegaError::Other(e.to_string()))?;

0 commit comments

Comments
 (0)