Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
fix: allow for much larger body sizes (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Jul 18, 2016
1 parent f01eef9 commit d498cbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ var request = require('request')
var npmUrls = require('@npm/npm-urls')
var url = require('url')

app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: false }))
app.use(bodyParser.json({ limit: '196mb' }))
app.use(bodyParser.urlencoded({ extended: false, limit: '196mb' }))

function CouchUrlRewriteProxy (opts) {
function proxy (req, res, next) {
Expand Down

0 comments on commit d498cbc

Please sign in to comment.