Skip to content

Commit

Permalink
Add logo to AppVeyor badge and change logo color
Browse files Browse the repository at this point in the history
Fixes #507
  • Loading branch information
techtonik committed Oct 19, 2016
1 parent 156b4fc commit e6e4832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion logo/appveyor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ cache(function(data, match, sendBadge, request) {
apiUrl += '/branch/' + branch;
}
var badgeData = getBadgeData('build', data);
badgeData.logo = badgeData.logo || logos['appveyor'];
request(apiUrl, { headers: { 'Accept': 'application/json' } }, function(err, res, buffer) {
if (err != null) {
badgeData.text[1] = 'inaccessible';
Expand Down

0 comments on commit e6e4832

Please sign in to comment.