🐛 Increase body size limit
This commit is contained in:
parent
31e244220b
commit
8ea3e4763c
@ -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"),
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user