diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-23 00:06:24 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-23 00:06:24 -0700 |
| commit | 654a69ff52a0625db174d7851463e3cc464ffe5a (patch) | |
| tree | ca083db7d6b61ab217c0a3e81c3d8dc4b49fa4a8 /weed/s3api/s3api_handlers.go | |
| parent | c0f0fdb3baeb6e9852c6876b23c1404b2c5e833d (diff) | |
| download | seaweedfs-654a69ff52a0625db174d7851463e3cc464ffe5a.tar.xz seaweedfs-654a69ff52a0625db174d7851463e3cc464ffe5a.zip | |
refactoring
Diffstat (limited to 'weed/s3api/s3api_handlers.go')
| -rw-r--r-- | weed/s3api/s3api_handlers.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/s3api/s3api_handlers.go b/weed/s3api/s3api_handlers.go index d850cb088..05dd4b823 100644 --- a/weed/s3api/s3api_handlers.go +++ b/weed/s3api/s3api_handlers.go @@ -46,6 +46,10 @@ func (s3a *S3ApiServer) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) err }, s3a.option.FilerGrpcAddress, s3a.option.GrpcDialOption) } +func (s3a *S3ApiServer) AdjustedUrl(hostAndPort string) string { + return hostAndPort +} + // If none of the http routes match respond with MethodNotAllowed func notFoundHandler(w http.ResponseWriter, r *http.Request) { |
