parent
d5d4abd1a8
commit
cb873f25fe
|
@ -51,7 +51,8 @@ app.use(cors(corsOptions));
|
|||
|
||||
app.use(favicon(path.join(__dirname + '/..', 'public', 'favicon.ico')));
|
||||
app.use(express.static(path.join(__dirname + '/..', 'public')));
|
||||
app.use(bodyParser.json());
|
||||
app.use(bodyParser.json({limit: '10mb'}));
|
||||
app.use(bodyParser.urlencoded({limit: '10mb', extended: true}));
|
||||
|
||||
// API request checks for API-version and JSON etc.
|
||||
app.use(restAPIchecks);
|
||||
|
|
Loading…
Reference in New Issue