Angeliki
Angeliki
WWasp-lang
Created by Angeliki on 9/22/2024 in #đŸ™‹questions
request too large
@kapa.ai that was my concern, whether wasp has a different implementation that i override with potentially unknown sideeffects.
26 replies
WWasp-lang
Created by Angeliki on 9/22/2024 in #đŸ™‹questions
request too large
@kapa.ai i mean any side effects in changing the server behavior apart from the request limit
26 replies
WWasp-lang
Created by Angeliki on 9/22/2024 in #đŸ™‹questions
request too large
@kapa.ai this seemed to work:
import bodyParser from 'body-parser';

export const myMiddlewareConfigFn = (config) => {
config.set('express.json', bodyParser.json({ limit: '10mb' }));
return config;
}
import bodyParser from 'body-parser';

export const myMiddlewareConfigFn = (config) => {
config.set('express.json', bodyParser.json({ limit: '10mb' }));
return config;
}
` however, does it have any side effects?
26 replies
WWasp-lang
Created by Angeliki on 9/22/2024 in #đŸ™‹questions
request too large
@kapa.ai How could i configure this for example? "app.use(bodyParser.json({ limit: '10mb' }));" give me the implementation please
26 replies
WWasp-lang
Created by Angeliki on 9/22/2024 in #đŸ™‹questions
request too large
is there any way to increase the request limit without custom endpoint? @kapa.ai
26 replies