feat: use config value for json body parser limit
This commit is contained in:
@@ -91,7 +91,7 @@ module.exports = async () => {
|
||||
// GraphQL Server
|
||||
// ----------------------------------------
|
||||
|
||||
app.use(bodyParser.json({ limit: '1mb' }))
|
||||
app.use(bodyParser.json({ limit: WIKI.config.bodyParserLimit }))
|
||||
await WIKI.servers.startGraphQL()
|
||||
|
||||
// ----------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user