Skip to content

Commit

Permalink
up max request size to 1M'
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Jun 13, 2021
1 parent 0be42b5 commit bdbca3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/forms.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func DecodeAndValidateForm(form interface{}, r *http.Request) error {
// DecodeAndValidateJSON takes the passed in envelope and tries to unmarshal it from the body
// of the passed in request, then validating it
func DecodeAndValidateJSON(envelope interface{}, r *http.Request) error {
body, err := ReadBody(r, 100000)
body, err := ReadBody(r, 1000000)
if err != nil {
return fmt.Errorf("unable to read request body: %s", err)
}
Expand Down

0 comments on commit bdbca3d

Please sign in to comment.