Skip to content

Commit

Permalink
Merge pull request #4 from bebraw/master
Browse files Browse the repository at this point in the history
Use http registry instead of https one
  • Loading branch information
Edward Hotchkiss committed Jun 27, 2013
2 parents 940832f + 08c6495 commit cee5eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/version.js
Expand Up @@ -40,7 +40,7 @@ version.fetchNode = function(name, options, callback) {
// external
} else {
callback = callback || options;
request('https://registry.npmjs.org/' + name + '/latest', function(error, response, body) {
request('http://registry.npmjs.org/' + name + '/latest', function(error, response, body) {
if (error) {
callback(error, null);
} else if (response.statusCode === 404) {
Expand All @@ -63,4 +63,4 @@ version.fetchNode = function(name, options, callback) {
}
};

/* EOF */
/* EOF */

0 comments on commit cee5eb0

Please sign in to comment.