mirror of
https://github.com/yuangyaa/openclaw.git
synced 2026-07-20 22:22:49 +08:00
The isAvatarUrl check only accepted http://, https://, or data: URLs,
but the /avatar/{agentId} endpoint returns relative paths like /avatar/main.
This caused local file avatars to display as text instead of images.
Fixes avatar display for locally configured avatar files.