浏览代码

feat: gravatar default image updated

Timothy J. Baek 1 年之前
父节点
当前提交
dedb42582b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/utils/misc.py

+ 1 - 1
backend/utils/misc.py

@@ -12,4 +12,4 @@ def get_gravatar_url(email):
     hash_hex = hash_object.hexdigest()
 
     # Grab the actual image URL
-    return f"https://www.gravatar.com/avatar/{hash_hex}"
+    return f"https://www.gravatar.com/avatar/{hash_hex}?d=mp"