Coveralls apiUrl use badge subdomain
To bypass CloudFlare's threat control.
This commit is contained in:
parent
8cc1a17cd4
commit
c22df02ccf
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user