Skip to content

Commit 49d3093

Browse files
committed
wip
1 parent 0abe930 commit 49d3093

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

src/main/app.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,8 @@ export class App {
3939
// next();
4040
// });
4141

42-
this.app.use(
43-
express.json({
44-
verify: (req, res, buf) => {
45-
// @ts-ignore
46-
req.rawBody = buf;
47-
},
48-
limit: '100mb',
49-
}),
50-
);
42+
this.app.use(express.json({ limit: '1000mb' }));
43+
this.app.use(express.urlencoded({ limit: '1000mb', extended: true }));
5144

5245
// Request logging
5346
this.app.use((req: Request, res: Response, next: NextFunction) => {

0 commit comments

Comments
 (0)