fix: enable virtual hosted style for S3 client (#2308)

This commit is contained in:
Univero
2025-10-06 17:04:41 +08:00
committed by GitHub
parent e1c5e7e208
commit ec75ed50cd

View File

@ -57,7 +57,7 @@ func getS3Client(ctx context.Context, ak, sk, bucketName, endpoint, region strin
PartitionID: "aws",
URL: endpoint,
SigningRegion: region,
HostnameImmutable: true,
HostnameImmutable: false,
Source: aws.EndpointSourceCustom,
}, nil
})