From cc3582c1f9e3bfc96b2a6164dac8e68cea8c0521 Mon Sep 17 00:00:00 2001 From: Dahaha Date: Fri, 9 Jan 2026 15:22:32 +0800 Subject: [PATCH] feat(theme): add support for base64 for profile avatars (#808) --- theme/src/client/components/Posts/VPPostsProfile.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/theme/src/client/components/Posts/VPPostsProfile.vue b/theme/src/client/components/Posts/VPPostsProfile.vue index a73f7412..8645f520 100644 --- a/theme/src/client/components/Posts/VPPostsProfile.vue +++ b/theme/src/client/components/Posts/VPPostsProfile.vue @@ -20,6 +20,8 @@ const imageUrl = computed(() => { return '' if (isLinkHttp(url)) return url + if (url.startsWith('data:image/')) + return url return withBase(url) })