Skip to content

Commit

Permalink
avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Polsky committed Jun 13, 2023
1 parent e86e67c commit 4859b44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion board/frontend/lib/components/UserAvatar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
</script>

<img class="rounded-circle" alt="User Avatar" src="/images/avatar.jpg"/>
<img class="rounded-circle" alt="User Avatar" src={`${global.BOARD_SUBPATH}/images/avatar.jpg`}/>

<style>
img {
Expand Down
2 changes: 1 addition & 1 deletion board/frontend/lib/components/utils/member.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export const getMemberAvatar = (member) => {
return member.avatar_url;
}

return `${global.VITE_BOARD_API_URL}/images/no-avatar.jpg`;
return `${global.BOARD_SUBPATH}/images/no-avatar.jpg`;
};

0 comments on commit 4859b44

Please sign in to comment.