diff --git a/pkg/server/startup.go b/pkg/server/startup.go index b8bc482..1dceea4 100644 --- a/pkg/server/startup.go +++ b/pkg/server/startup.go @@ -27,6 +27,7 @@ func NewServer() { ProxyHeader: fiber.HeaderXForwardedFor, JSONEncoder: jsoniter.ConfigCompatibleWithStandardLibrary.Marshal, JSONDecoder: jsoniter.ConfigCompatibleWithStandardLibrary.Unmarshal, + BodyLimit: 50 * 1024 * 1024, EnablePrintRoutes: viper.GetBool("debug"), })