serve s3: remove redundant handler initialization

This commit is contained in:
Tho Neyugn 2025-05-01 16:49:11 +01:00 committed by GitHub
parent f5501edfcf
commit 3273bf3716
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,7 +81,6 @@ func newServer(ctx context.Context, f fs.Fs, opt *Options, vfsOpt *vfscommon.Opt
gofakes3.WithIntegrityCheck(true), // Check Content-MD5 if supplied
)
w.handler = http.NewServeMux()
w.handler = w.faker.Server()
if proxy.Opt.AuthProxy != "" {