Commit ae3ed31d authored by mercury233's avatar mercury233

fix default_avatar

parent 7e7b5a77
Pipeline #19629 passed with stages
in 1 minute and 44 seconds
......@@ -11,6 +11,9 @@ function mutatedUserAvatar(avatar) {
if (!avatar) {
return avatar;
}
if (avatar.includes('default_avatar')) {
return defaultAvatar;
}
return `https://sapi.moecube.com:444/avatar/url/${avatar.split('/').pop()}/40/avatar.png`;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment