🐛 Fix request entity too large
This commit is contained in:
parent
8cf0feb09a
commit
63ea5e848f
@ -27,6 +27,7 @@ func NewServer() *HTTPApp {
|
||||
ProxyHeader: fiber.HeaderXForwardedFor,
|
||||
JSONEncoder: jsoniter.ConfigCompatibleWithStandardLibrary.Marshal,
|
||||
JSONDecoder: jsoniter.ConfigCompatibleWithStandardLibrary.Unmarshal,
|
||||
BodyLimit: 512 * 1024 * 1024 * 1024, // 512 TiB
|
||||
EnablePrintRoutes: viper.GetBool("debug.print_routes"),
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user