From c8d33505402a8532a5c24d5537174759733b707c Mon Sep 17 00:00:00 2001 From: Luca Date: Mon, 2 Oct 2023 18:15:06 +0200 Subject: [PATCH] Update default avatar --- ServicesCommon/Utils/GravatarUtils.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ServicesCommon/Utils/GravatarUtils.cs b/ServicesCommon/Utils/GravatarUtils.cs index ece04f50..7b793215 100644 --- a/ServicesCommon/Utils/GravatarUtils.cs +++ b/ServicesCommon/Utils/GravatarUtils.cs @@ -9,7 +9,7 @@ public static Uri GetImageUrl(string email) { Span 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"); } -} \ No newline at end of file +}