Skip to content

Commit

Permalink
doh, i was resetting the limit
Browse files Browse the repository at this point in the history
  • Loading branch information
j4ys0n committed Sep 25, 2024
1 parent 6d232a8 commit 7bb1482
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const targetUrls = (process.env.TARGET_URLS || 'http://example.com').split(',').
const payloadLimit = process.env.PAYLOAD_LIMIT || '1mb'
app.use(bodyParser.json({ limit: payloadLimit }))
app.use(bodyParser.urlencoded({ extended: false, limit: payloadLimit }))
app.use(bodyParser.json())
log('info', `Payload limit is: ${payloadLimit}`)

// Express routes
Expand Down

0 comments on commit 7bb1482

Please sign in to comment.