BREAKING CHANGE: no longer add express.json() by default to backend

This commit is contained in:
Fredrik Adelöw
2020-09-01 11:59:31 +02:00
parent 9d5cffe5ff
commit 568f398aa9
10 changed files with 21 additions and 9 deletions
@@ -135,7 +135,6 @@ export class ServiceBuilderImpl implements ServiceBuilder {
app.use(cors(corsOptions));
}
app.use(compression());
app.use(express.json());
if (this.enableMetrics) {
app.use(metricsHandler());
}