Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Actually set the tarball url to non-https
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed May 19, 2010
1 parent 886529f commit 707aa34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/registry.js
Expand Up @@ -60,7 +60,7 @@ function publish (data, cb) {
+ encodeURIComponent(data.version)
+ ".tgz"
data.dist = { "tarball" : url.resolve(npm.config.get("registry"), attURI) }
data.dist.tarball.replace(/^https:\/\//, 'http://')
data.dist.tarball = data.dist.tarball.replace(/^https:\/\//, 'http://')

// first try to just PUT the whole fullData, and this will fail if it's
// already there, because it'll be lacking a _rev, so couch'll bounce it.
Expand Down

0 comments on commit 707aa34

Please sign in to comment.