Switch away from logo.clearbit.com for company logos

This commit is contained in:
Ben Gotow 2018-11-21 16:27:20 -08:00
parent 12f8da79f4
commit e3e097fd00

View file

@ -90,7 +90,7 @@ export const ResolveSignatureData = data => {
const domain = const domain =
(data.websiteURL && URL.parse(data.websiteURL).hostname) || (data.websiteURL && URL.parse(data.websiteURL).hostname) ||
(data.email && data.email.split('@').pop()); (data.email && data.email.split('@').pop());
data.photoURL = `https://logo.clearbit.com/${domain}?msw=128&msh=128`; data.photoURL = `https://logo.getmailspring.com/company-logo/${domain}?msw=128&msh=128`;
} }
if (data.photoURL === 'custom') { if (data.photoURL === 'custom') {