Merge pull request #2395 from open-webui/dev

fix
This commit is contained in:
Timothy Jaeryang Baek 2024-05-19 10:25:07 -10:00 committed by GitHub
commit 66c2024d76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,8 @@
crossorigin="anonymous" crossorigin="anonymous"
src={src.startsWith(WEBUI_BASE_URL) || src={src.startsWith(WEBUI_BASE_URL) ||
src.startsWith('https://www.gravatar.com/avatar/') || src.startsWith('https://www.gravatar.com/avatar/') ||
src.startsWith('data:') src.startsWith('data:') ||
src.startsWith('/')
? src ? src
: `/user.png`} : `/user.png`}
class=" w-8 object-cover rounded-full" class=" w-8 object-cover rounded-full"