Skip to content

Commit

Permalink
fix: avatar url
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Alexander Strømseng committed Apr 10, 2024
1 parent 1aa55dd commit a329df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/AvatarImageFix.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const AvatarImageFix = React.forwardRef<
<AvatarPrimitive.Image
ref={ref}
className={cn("aspect-square h-full w-full", className)}
src={STRAPI_URL + "_next/image?url=" + src + "&w=100&q=100"}
src={STRAPI_URL + "/_next/image?url=" + src + "&w=100&q=100"}
{...props}
/>
));
Expand Down

0 comments on commit a329df7

Please sign in to comment.