mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-30 02:36:30 +02:00
✨ Use api route as avatar (#1344)
This commit is contained in:
parent
03e695a7a5
commit
a07a8f74cd
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export function OptimizedAvatarImage({
|
||||||
<AvatarImage src={src} alt={name} />
|
<AvatarImage src={src} alt={name} />
|
||||||
) : isAvatarsEnabled ? (
|
) : isAvatarsEnabled ? (
|
||||||
<Image
|
<Image
|
||||||
src={`https://d39ixtfgglw55o.cloudfront.net/${src}`}
|
src={`/api/storage/${src}`}
|
||||||
width={128}
|
width={128}
|
||||||
height={128}
|
height={128}
|
||||||
alt={name}
|
alt={name}
|
||||||
|
|
Loading…
Add table
Reference in a new issue