streamingfast / dstore

Blob stores abstractions. Supports AWS S3, Google Storage, Azure Blob File Storage, and local FS
https://dfuse.io
Apache License 2.0
11 stars 10 forks source link

S3 need support for virtual-hosted style #13

Open chanson-chan opened 1 year ago

chanson-chan commented 1 year ago

My S3 service (Alibaba Cloud OSS) only supports the Virtual Hosted request style. An option needs to be added to enable support for it.

Compatibility with Amazon S3 - Alibaba Cloud OSS image

https://github.com/streamingfast/dstore/blob/3924b3b36c778c14ef73ce108d965c774fb27fff/s3store.go#L130

maoueh commented 1 year ago

PR welcomed, should be a "param" options that will configure this.