Skip to content

Commit 9ebdfbe

Browse files
Merge pull request #32 from RelationalAI/ag-s3-use-virtual-style
Use S3 virtual hosted style url by default
2 parents 52ab13c + a903b14 commit 9ebdfbe

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "RustyObjectStore"
22
uuid = "1b5eed3d-1f46-4baa-87f3-a4a892b23610"
3-
version = "0.5.1"
3+
version = "0.5.2"
44

55
[deps]
66
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"

src/RustyObjectStore.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,8 @@ struct AWSConfig <: AbstractConfig
444444

445445
if !isnothing(host)
446446
params["minio_host"] = host
447+
else
448+
params["aws_virtual_hosted_style_request"] = "true"
447449
end
448450

449451
if !use_instance_metadata && isnothing(access_key_id)

0 commit comments

Comments
 (0)