refactor: migrate gravatar to cravatar

This commit is contained in:
siujamo
2026-05-21 02:41:02 -05:00
parent 5963a4fcc2
commit 4caafff015
+1 -1
View File
@@ -70,7 +70,7 @@ function rotateRight(x: number, n: number): number {
function gravatarUrl(email: string, size = 80): string {
const normalized = email.trim().toLowerCase()
const hash = sha256Hex(normalized)
return `https://gravatar.com/avatar/${hash}?s=${size}&d=robohash&r=g`
return `https://cravatar.cn/avatar/${hash}?s=${size}&d=robohash&r=g`
}
interface AuthorInfo {