1
0
Fork 0

tada: Initial commit

This commit is contained in:
Joost De Cock 2018-10-19 16:25:35 +02:00 committed by Joost De Cock
parent 19300b5352
commit 3529e9e4ee
32 changed files with 6714 additions and 1 deletions
packages/backend/src/middleware

View file

@ -0,0 +1,9 @@
import bodyParser from "body-parser";
export default (app) => {
// application/x-www-form-urlencoded
app.use(bodyParser.urlencoded({ extended: true }));
// application/json
app.use(bodyParser.json());
}