Merge pull request #379 from Kikobeats/patch-1

build: use unavatar.now.sh for resolving user avatar
This commit is contained in:
Wes Bos 2020-01-14 12:35:17 -05:00 committed by GitHub
commit 6e9b0a9fdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}?size=50`;
const img = `https://images.weserv.nl/?url=https://unavatar.now.sh/${url.host}&w=100&l=9&af&il&n=-1`
return (
<PersonWrapper>
<PersonInner>