diff --git a/apxtri.js b/apxtri.js index 5dd2176..2fb76dd 100755 --- a/apxtri.js +++ b/apxtri.js @@ -70,7 +70,7 @@ Object.keys(conf.api.appset).forEach((p) => { // To set depending of data form or get size to send app.use(bodyParser.urlencoded(conf.api.bodyparse.urlencoded)); // To set depending of post put json data size to send -app.use(express.json()); +app.use(express.json({limit:'10mb'})); app.use(bodyParser.json(conf.api.bodyparse.json)); app.disable("x-powered-by"); // for security app.locals.tribeids = tribeIds;