mirror of
https://github.com/versity/versitygw.git
synced 2026-09-03 14:46:55 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user