Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
✨ Use api route as avatar (#1344)
Luke Vellaa07a8f74cd0f
diff --git a/apps/web/src/components/optimized-avatar-image.tsx b/apps/web/src/components/optimized-avatar-image.tsxindex 4541ac99c..dfe657fce 100644--- a/apps/web/src/components/optimized-avatar-image.tsx+++ b/apps/web/src/components/optimized-avatar-image.tsx@@ -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}