forked from apxtri/apxtri
image management
This commit is contained in:
parent
abd346b150
commit
441483bcc8
@ -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({limit:'10mb'}));
|
||||
app.use(express.json({limit:'10mb',type:'application/json',rawBody:true}));
|
||||
app.use(bodyParser.json(conf.api.bodyparse.json));
|
||||
app.disable("x-powered-by"); // for security
|
||||
app.locals.tribeids = tribeIds;
|
||||
|
File diff suppressed because one or more lines are too long
@ -79,6 +79,7 @@
|
||||
"path": "^0.12.7",
|
||||
"pm2": "^2.10.4",
|
||||
"readline-sync": "^1.4.10",
|
||||
"sharp": "^0.33.4",
|
||||
"smtp-client": "^0.4.0",
|
||||
"stripe": "^14.4.0",
|
||||
"uuid": "^9.0.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user