mirror of
				https://github.com/Chocobozzz/PeerTube.git
				synced 2025-02-25 18:55:32 -06:00 
			
		
		
		
	Server: avoid request entity too large for requests between pods
This commit is contained in:
		@@ -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({
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user