Merge pull request #2210 from spotify/freben/no-default-json
BREAKING CHANGE: no longer add express.json() by default to backend
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user