From e6e4832e6868195b47baad36a0ba4f64de475bfa Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Thu, 20 Oct 2016 00:42:15 +0300 Subject: [PATCH] Add logo to AppVeyor badge and change logo color Fixes #507 --- logo/appveyor.svg | 2 +- server.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/logo/appveyor.svg b/logo/appveyor.svg index b632a830aeb787..7c36860e13f9b9 100644 --- a/logo/appveyor.svg +++ b/logo/appveyor.svg @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/server.js b/server.js index 9e9da0744cef27..6993f09e6e1fb9 100644 --- a/server.js +++ b/server.js @@ -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';