From 3fd511f4d9846f69e333c75ea9652015df60974b Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Tue, 14 Jan 2020 13:36:40 +0100 Subject: [PATCH] Use unavatar instead of Clearbit API Closes #376 unavatar.now.sh uses clearbit API logo (and more providers) under the hood. Also, the fallback image is customizable, e.g., https://unavatar.now.sh/daftpunk?fallback=https://i.imgur.com/0d1TFfQ.jpg --- src/components/Person.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Person.js b/src/components/Person.js index 90b4dc4e..c4c8e7ae 100644 --- a/src/components/Person.js +++ b/src/components/Person.js @@ -7,7 +7,7 @@ import * as icons from '../util/icons'; export default function Person({ person, currentTag }) { const url = new URL(person.url); - const img = `https://logo.clearbit.com/${url.host}`; + const img = `https://unavatar.now.sh/${url.host}`; return (