Skip to content

Commit

Permalink
Coveralls apiUrl use badge subdomain
Browse files Browse the repository at this point in the history
To bypass CloudFlare's threat control.
  • Loading branch information
nickmerwin authored and espadrine committed May 21, 2014
1 parent 26b2eaa commit 8f85150
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 @@ -568,7 +568,7 @@ cache(function(data, match, sendBadge) {
var userRepo = match[1]; // eg, `jekyll/jekyll`.
var branch = match[2];
var format = match[3];
var apiUrl = 'https://coveralls.io/repos/' + userRepo + '/badge.png';
var apiUrl = 'http://badge.coveralls.io/repos/' + userRepo + '/badge.png';
if (branch) {
apiUrl += '?branch=' + branch;
}
Expand Down

0 comments on commit 8f85150

Please sign in to comment.