forked from apxtri/apxtri
increase bodyparsersize to 5mb
This commit is contained in:
parent
d2ed5349fc
commit
fcfc7fad6e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user