mirror of https://github.com/Chocobozzz/PeerTube
Server: avoid request entity too large for requests between pods
parent
9e8aa10d94
commit
def16d33d1
|
@ -49,7 +49,7 @@ const port = config.get('listen.port')
|
|||
// For the logger
|
||||
app.use(morgan('combined', { stream: logger.stream }))
|
||||
// For body requests
|
||||
app.use(bodyParser.json())
|
||||
app.use(bodyParser.json({ limit: '500kb' }))
|
||||
app.use(bodyParser.urlencoded({ extended: false }))
|
||||
// Validate some params for the API
|
||||
app.use(expressValidator({
|
||||
|
|
Loading…
Reference in New Issue