Skip to content

Commit e09be05

Browse files
committed
force path style for s3
1 parent 58c16e5 commit e09be05

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • libsql-wal/src/storage/backend

libsql-wal/src/storage/backend/s3.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ impl<IO: Io> S3Backend<IO> {
6464
cluster_id: String,
6565
io: IO,
6666
) -> Result<Self> {
67-
let client = Client::new(&aws_config);
67+
let config = aws_sdk_s3::Config::new(&aws_config)
68+
.to_builder()
69+
.force_path_style(true)
70+
.build();
71+
let client = Client::from_conf(config);
6872
let config = S3Config {
6973
bucket,
7074
cluster_id,

0 commit comments

Comments
 (0)