diff --git a/server.js b/server.js index c2c7933..e0dd75e 100644 --- a/server.js +++ b/server.js @@ -938,7 +938,7 @@ cache(function(data, match, sendBadge) { })); // Codecov integration. -camp.route(/^\/codecov\/([^\/]+\/[^\/]+\/[^\/]+)(?:\/(.+))?\.(svg|png|gif|jpg)$/, +camp.route(/^\/codecov\/c\/([^\/]+\/[^\/]+\/[^\/]+)(?:\/(.+))?\.(svg|png|gif|jpg)$/, cache(function(data, match, sendBadge) { var userRepo = match[1]; // eg, `github/codecov/example-python`. var branch = match[2]; diff --git a/try.html b/try.html index eabea4b..57060c3 100644 --- a/try.html +++ b/try.html @@ -204,6 +204,10 @@ I made the GitHub Badge Service. http://img.shields.io/jenkins/t/https/jenkins.qa.ubuntu.com/precise-desktop-amd64_default.svg + Codecov: + + http://img.shields.io/codecov/c/github/codecov/example-python.svg +

Downloads