From ab271c82eeef9e3a820611fad97435f9a0155d9d Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 19 May 2024 13:24:46 -0700 Subject: [PATCH] Update ProfileImage.svelte --- src/lib/components/chat/Messages/ProfileImage.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/components/chat/Messages/ProfileImage.svelte b/src/lib/components/chat/Messages/ProfileImage.svelte index 80bdea2c7..44f3b5fce 100644 --- a/src/lib/components/chat/Messages/ProfileImage.svelte +++ b/src/lib/components/chat/Messages/ProfileImage.svelte @@ -10,7 +10,8 @@ crossorigin="anonymous" src={src.startsWith(WEBUI_BASE_URL) || src.startsWith('https://www.gravatar.com/avatar/') || - src.startsWith('data:') + src.startsWith('data:') || + src.startsWith('/') ? src : `/user.png`} class=" w-8 object-cover rounded-full"