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 | |
| parent | c87cb01ec90f4331c2530dff02b888a8a96abcf2 (diff) | |
raise okadminview bodyparser size limitv0.2.7
| -rw-r--r-- | app/node_modules/okadminview/index.js | 2 | ||||
| -rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 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. diff --git a/package.json b/package.json index ff5e600..6a429f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "okcms", - "version": "0.2.5", + "version": "0.2.7", "description": "The dopest CMS on the planet.", "main": "app/index.js", "scripts": { |
