diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-05-17 12:31:57 +0200 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-05-17 12:31:57 +0200 |
| commit | 5db186a65dcd79211bfee784a4c212c87607fdd2 (patch) | |
| tree | cfb80b476457684cf298c12c5c40ef8971ec45f9 /app/node_modules | |
| parent | c87cb01ec90f4331c2530dff02b888a8a96abcf2 (diff) | |
raise okadminview bodyparser size limitv0.2.7
Diffstat (limited to 'app/node_modules')
| -rw-r--r-- | app/node_modules/okadminview/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/node_modules/okadminview/index.js b/app/node_modules/okadminview/index.js index 1fc4116..d687bbb 100644 --- a/app/node_modules/okadminview/index.js +++ b/app/node_modules/okadminview/index.js @@ -119,7 +119,7 @@ function OKAdminView(options) { // Enable flash messaging router.use(flash()); // Parse form data - router.use(bodyParser.urlencoded({extended: true})); + router.use(bodyParser.urlencoded({extended: true, limit: '10mb'})); // HTML forms only support POST and GET methods // We extend this by adding hidden input fields to the forms which // specify the actual method desired. |
