Skip to content

Commit

Permalink
✨ Use api route as avatar (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukevella authored Sep 10, 2024
1 parent 03e695a commit a07a8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/components/optimized-avatar-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function OptimizedAvatarImage({
<AvatarImage src={src} alt={name} />
) : isAvatarsEnabled ? (
<Image
src={`https://d39ixtfgglw55o.cloudfront.net/${src}`}
src={`/api/storage/${src}`}
width={128}
height={128}
alt={name}
Expand Down

0 comments on commit a07a8f7

Please sign in to comment.