diff --git a/server.js b/server.js index ce2b862..3f2115d 100644 --- a/server.js +++ b/server.js @@ -393,7 +393,7 @@ cache(function(data, match, sendBadge, request) { })); // Shippable integration -camp.route(/^\/shippable?\/([^\/]+)(?:\/(.+))?\.(svg|png|gif|jpg|json)$/, +camp.route(/^\/shippable\/([^\/]+)(?:\/(.+))?\.(svg|png|gif|jpg|json)$/, cache(function(data, match, sendBadge, request) { var project = match[1]; // eg, 54d119db5ab6cc13528ab183 var branch = match[2]; @@ -2498,7 +2498,7 @@ cache(function(data, match, sendBadge, request) { })); // Codacy integration -camp.route(/^\/codacy?\/([^\/]+)(?:\/(.+))?\.(svg|png|gif|jpg|json)$/, +camp.route(/^\/codacy\/([^\/]+)(?:\/(.+))?\.(svg|png|gif|jpg|json)$/, cache(function(data, match, sendBadge, request) { var projectId = match[1]; // eg. e27821fb6289410b8f58338c7e0bc686 var branch = match[2];