mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 02:23:28 +08:00
Switch away from logo.clearbit.com for company logos
This commit is contained in:
parent
12f8da79f4
commit
e3e097fd00
1 changed files with 1 additions and 1 deletions
|
@ -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') {
|
||||||
|
|
Loading…
Reference in a new issue