From 7f13fc2909efa8f6a8f76a5d5ac25e7b24c47691 Mon Sep 17 00:00:00 2001 From: scanash00 Date: Sun, 25 Jan 2026 01:06:58 -0900 Subject: [PATCH] update profile page to use our backend avatar proxy --- web/src/pages/Profile.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/pages/Profile.jsx b/web/src/pages/Profile.jsx index 46a1640..4145871 100644 --- a/web/src/pages/Profile.jsx +++ b/web/src/pages/Profile.jsx @@ -133,7 +133,9 @@ export default function Profile() { const displayName = profile?.displayName || profile?.handle || handle; const displayHandle = profile?.handle || (handle?.startsWith("did:") ? null : handle); - const avatarUrl = profile?.avatar; + const avatarUrl = profile?.did + ? `/api/avatar/${encodeURIComponent(profile.did)}` + : null; const getInitial = () => { return (displayName || displayHandle || "??") -- 2.51.2