Skip to content

Commit 7e0365b

Browse files
committed
remove express raw
1 parent 41eef0c commit 7e0365b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ function removeExtraSlashes(req: any, res: any, next: any) {
131131
}
132132

133133
if (config.hasHttp) {
134-
// allow up to 25Mb file upload
135-
app.use(express.raw({ limit: '25mb' }))
136134
app.use(cors())
137135
app.use(requestValidator, (req, res, next) => {
138136
req.caller = req.headers['x-forwarded-for'] || req.socket.remoteAddress

0 commit comments

Comments
 (0)