Skip to content

Commit

Permalink
Update default avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHeart authored Oct 2, 2023
1 parent 108c949 commit c8d3350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ServicesCommon/Utils/GravatarUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public static Uri GetImageUrl(string email)
{
Span<byte> tempSpan = stackalloc byte[32];
SHA256.HashData(Encoding.UTF8.GetBytes(email), tempSpan);
return new Uri($"https://www.gravatar.com/avatar/{Convert.ToHexString(tempSpan).ToLowerInvariant()}?d=https%3A%2F%2Fshocklink.b-cdn.net%2Fweb%2Fshocklink-logo-only.png");
return new Uri($"https://www.gravatar.com/avatar/{Convert.ToHexString(tempSpan).ToLowerInvariant()}?d=https%3A%2F%2Fshocklink.net%2Fstatic%2Fimages%2FIcon512.png");
}

}
}

0 comments on commit c8d3350

Please sign in to comment.