Update ProfileImage.svelte

This commit is contained in:
Timothy J. Baek 2024-05-19 13:24:46 -07:00
parent bcc2bab623
commit ab271c82ee

View File

@ -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"