summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-01-01 15:38:34 +0100
committerJules Laplace <julescarbon@gmail.com>2018-01-01 15:38:34 +0100
commit7176250d674711c86e69984766b603e4e54dc201 (patch)
treeeb9c83d9d17b9bb09f4ee938d591e7cb07930ef4
parentab5edf33460292721161d90031472132318904d3 (diff)
try limit
-rw-r--r--bucky/app/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bucky/app/index.js b/bucky/app/index.js
index 24f1035..a05cd2f 100644
--- a/bucky/app/index.js
+++ b/bucky/app/index.js
@@ -30,7 +30,7 @@ site.init = function(){
app.enable('trust proxy');
app.set('port', process.env.PORT || 5000)
app.use(favicon(__dirname + '../../../public/favicon.ico'))
- app.use(bodyParser.json())
+ app.use(bodyParser.json({limit: '50mb'}))
app.use(cookieParser())
app.use(session({
secret: 'argonauts',