We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03f13df commit fa36c03Copy full SHA for fa36c03
main.go
@@ -242,6 +242,7 @@ func main() {
242
adminServer := &fasthttp.Server{
243
Handler: adminRequestHandler,
244
NoDefaultServerHeader: true,
245
+ MaxRequestBodySize: config.MaxFileSize * 1024 * 1024,
246
}
247
248
if len(config.AdminHTTPAddr) > 0 {
@@ -269,7 +270,6 @@ func main() {
269
270
publicServer := &fasthttp.Server{
271
Handler: publicRequestHandler,
272
- MaxRequestBodySize: config.MaxFileSize * 1024 * 1024,
273
274
275
if len(config.PublicHttpAddr) > 0 {
0 commit comments