Increase maximum body size on PUT/POST
This commit is contained in:
parent
dfa9182711
commit
7d452b610e
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ func Setup(opts *cnf.Options) (err error) {
|
|||
// Check body size
|
||||
|
||||
s.Use(mw.Size(&mw.SizeOpts{
|
||||
AllowedLength: 2000000,
|
||||
AllowedLength: 1 << 22,
|
||||
}))
|
||||
|
||||
// Check body type
|
||||
|
|
Loading…
Reference in a new issue