From: Luigi Pinca Date: Sat, 21 Jun 2014 06:56:21 +0000 (+0200) Subject: bumped body-parser to version 1.4.x X-Git-Url: https://git.saalbach.dev/?a=commitdiff_plain;h=67a5a5f16266c0a88bc4fa755fcf5da3c5b0fa6d;p=binbsis50.git bumped body-parser to version 1.4.x --- diff --git a/app.js b/app.js index 9657b03..523585e 100644 --- a/app.js +++ b/app.js @@ -31,7 +31,7 @@ app.set('view engine', 'jade'); app.use('/static', express.static(pub, {maxAge: 2419200000})); // 4 weeks = 2419200000 ms app.use(favicon(pub + '/img/favicon.ico', {maxAge: 2419200000})); app.use(banHandler); -app.use(urlencoded()); +app.use(urlencoded({extended: false})); app.use(cookieParser); app.use(session({ cookie: {maxAge: 14400000}, // 4 h = 14400000 ms diff --git a/package.json b/package.json index 16287d7..30b7060 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "analyze": false, "dependencies": { "async": "0.9.x", - "body-parser": "1.3.x", + "body-parser": "1.4.x", "canvas": "1.1.x", "connect-redis": "2.0.x", "cookie-parser": "1.3.x",