Increase maximum body size on PUT/POST

This commit is contained in:
Tobie Morgan Hitchcock 2016-09-14 10:19:08 +01:00
parent dfa9182711
commit 7d452b610e

View file

@ -46,7 +46,7 @@ func Setup(opts *cnf.Options) (err error) {
// Check body size // Check body size
s.Use(mw.Size(&mw.SizeOpts{ s.Use(mw.Size(&mw.SizeOpts{
AllowedLength: 2000000, AllowedLength: 1 << 22,
})) }))
// Check body type // Check body type