Skip to content

Commit

Permalink
update [pypi] to use warehouse (closes #1569) (#1648)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s authored Apr 15, 2018
1 parent ac13fdb commit d2a144e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2252,7 +2252,7 @@ cache(function(data, match, sendBadge, request) {
var info = match[1];
var egg = match[2]; // eg, `gevent`, `Django`.
var format = match[3];
var apiUrl = 'https://pypi.python.org/pypi/' + egg + '/json';
var apiUrl = 'https://pypi.org/pypi/' + egg + '/json';
var badgeData = getBadgeData('pypi', data);
request(apiUrl, function(err, res, buffer) {
if (err != null) {
Expand Down

0 comments on commit d2a144e

Please sign in to comment.