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

Commit

Permalink
fix: don't set host to registry.npmjs.org, this breaks _changes (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Jul 28, 2016
1 parent 4e6fc14 commit 326aa70
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ function CouchUrlRewriteProxy (opts) {
json: true,
strictSSL: false
}
req.headers.host = 'registry.npmjs.org'

if (~['PUT', 'POST', 'DELETE'].indexOf(req.method)) payload.body = req.body

var rewrite
Expand Down

0 comments on commit 326aa70

Please sign in to comment.