浏览代码

Update ProfileImage.svelte

Timothy J. Baek 11 月之前
父节点
当前提交
ab271c82ee
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/lib/components/chat/Messages/ProfileImage.svelte

+ 2 - 1
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"