Coveralls apiUrl use badge subdomain

To bypass CloudFlare's threat control.
This commit is contained in:
Nick Merwin 2014-05-20 12:37:58 -07:00 committed by Thaddee Tyl
parent 8cc1a17cd4
commit c22df02ccf

View File

@ -580,7 +580,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;
}