feat(s3): optional remove bucket name from path (close #4069)

This commit is contained in:
Andy Hsu
2023-04-09 19:25:52 +08:00
parent cc43238bd1
commit 75fd0ee185
2 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,7 @@ type Addition struct {
Placeholder string `json:"placeholder"`
ForcePathStyle bool `json:"force_path_style"`
ListObjectVersion string `json:"list_object_version" type:"select" options:"v1,v2" default:"v1"`
RemoveBucket bool `json:"remove_bucket" help:"Remove bucket name from path when using custom host."`
}
var config = driver.Config{