Skip to content

Commit 9ab9b8a

Browse files
authored
Merge pull request #18 from j4ys0n/request-limit
doh, i was resetting the limit
2 parents 1063d38 + 73bd4a2 commit 9ab9b8a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "llm-proxy",
3-
"version": "1.4.3",
3+
"version": "1.4.4",
44
"description": "Manages Nginx for reverse proxy to multiple LLMs, with TLS & Bearer Auth tokens",
55
"main": "dist/index.js",
66
"scripts": {

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const targetUrls = (process.env.TARGET_URLS || 'http://example.com').split(',').
1717
const payloadLimit = process.env.PAYLOAD_LIMIT || '1mb'
1818
app.use(bodyParser.json({ limit: payloadLimit }))
1919
app.use(bodyParser.urlencoded({ extended: false, limit: payloadLimit }))
20-
app.use(bodyParser.json())
2120
log('info', `Payload limit is: ${payloadLimit}`)
2221

2322
// Express routes

0 commit comments

Comments
 (0)