From cb35cd5847685fff1d422760d2d044fb5722e6d1 Mon Sep 17 00:00:00 2001 From: Thaddee Tyl Date: Mon, 15 Dec 2014 21:40:42 +0100 Subject: [PATCH] packagist: mention example user/repo --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 21fc55227bbd35..bc2b7af249f662 100644 --- a/server.js +++ b/server.js @@ -616,7 +616,7 @@ cache(function(data, match, sendBadge, request) { // Packagist version integration. camp.route(/^\/packagist\/v\/(.*)\.(svg|png|gif|jpg|json)$/, cache(function(data, match, sendBadge, request) { - var userRepo = match[1]; + var userRepo = match[1]; // eg, `doctrine/orm`. var format = match[2]; var apiUrl = 'https://packagist.org/packages/' + userRepo + '.json'; var badgeData = getBadgeData('packagist', data);