aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-23 16:24:11 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-23 16:24:11 +0200
commitdef16d33d19153c6583fa8a30634760b3d64d34c (patch)
tree257dadd738b3b7d5d7664c68aea6a5977a32091a /server.js
parent9e8aa10d94e4642ec1d20a522c41b06e9df7758b (diff)
downloadPeerTube-def16d33d19153c6583fa8a30634760b3d64d34c.tar.gz
PeerTube-def16d33d19153c6583fa8a30634760b3d64d34c.tar.zst
PeerTube-def16d33d19153c6583fa8a30634760b3d64d34c.zip
Server: avoid request entity too large for requests between pods
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index 676597fae..8010d3e06 100644
--- a/server.js
+++ b/server.js
@@ -49,7 +49,7 @@ const port = config.get('listen.port')
49// For the logger 49// For the logger
50app.use(morgan('combined', { stream: logger.stream })) 50app.use(morgan('combined', { stream: logger.stream }))
51// For body requests 51// For body requests
52app.use(bodyParser.json()) 52app.use(bodyParser.json({ limit: '500kb' }))
53app.use(bodyParser.urlencoded({ extended: false })) 53app.use(bodyParser.urlencoded({ extended: false }))
54// Validate some params for the API 54// Validate some params for the API
55app.use(expressValidator({ 55app.use(expressValidator({