s3: use bucket in the domain

fix https://github.com/chrislusf/seaweedfs/issues/1405
This commit is contained in:
Chris Lu
2020-07-28 08:47:24 -07:00
parent bfa07af326
commit a566bfc6e1
2 changed files with 7 additions and 1 deletions

View File

@@ -151,6 +151,7 @@ func (s3opt *S3Options) startS3Server() bool {
_, s3ApiServer_err := s3api.NewS3ApiServer(router, &s3api.S3ApiServerOption{
Filer: *s3opt.filer,
Port: *s3opt.port,
FilerGrpcAddress: filerGrpcAddress,
Config: *s3opt.config,
DomainName: *s3opt.domainName,