Hex.pm's website uses the term "Hex", not "Hex.pm"

This commit is contained in:
Thaddee Tyl 2014-08-08 18:00:23 +02:00
parent 3e6c31b985
commit 7d30f2b92d

View File

@ -761,7 +761,7 @@ cache(function(data, match, sendBadge) {
var repo = match[2]; // eg, `httpotion`.
var format = match[3];
var apiUrl = 'https://hex.pm/api/packages/' + repo;
var badgeData = getBadgeData('hex.pm', data);
var badgeData = getBadgeData('hex', data);
request(apiUrl, function(err, res, buffer) {
if (err != null) {
badgeData.text[1] = 'inaccessible';