fix: Do not parse all requests with json parser

This commit is contained in:
Faruk AYDIN
2023-10-10 18:26:53 +02:00
parent 453ab7de66
commit 53189a6487

View File

@@ -37,7 +37,6 @@ app.use(morgan);
app.use(
express.json({
limit: appConfig.requestBodySizeLimit,
type: () => true,
verify(req, res, buf) {
(req as IRequest).rawBody = buf;
},