fix: remove body limit for admin app

The BodyLimit is needed for large PUTs in the s3 api server, but
the admin server requests are not expected to exceed the default
4MB limit.
This commit is contained in:
Ben McClelland
2023-09-12 16:16:47 -07:00
parent b00819ff31
commit c9475adb04
-1
View File
@@ -250,7 +250,6 @@ func runGateway(ctx *cli.Context, be backend.Backend, s auth.Storer) error {
admApp := fiber.New(fiber.Config{
AppName: "versitygw",
ServerHeader: "VERSITYGW",
BodyLimit: 5 * 1024 * 1024 * 1024,
})
var admOpts []s3api.AdminOpt