Skip to content

Commit

Permalink
adding payload parser for file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
RmnRss committed Sep 25, 2020
1 parent 1eb3f9a commit 530cc24
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions api/config/middleware.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parser": {
"enabled": true,
"multipart": true,
"formLimit": "25mb",
"jsonLimit": "25mb",
"formidable": {
"maxFileSize": 26214400
}
}
}

0 comments on commit 530cc24

Please sign in to comment.