fix: use presigned S3 URLs for avatar images instead of /uploads/ paths
All checks were successful
CI / ci (push) Successful in 1m11s
CI / e2e (push) Has been skipped
CI / deploy (push) Successful in 14s

Avatar images were rendered via /uploads/ which doesn't exist since
the S3 migration. Now the server enriches profile responses with
avatarImageUrl (presigned S3 URL) and the frontend uses it directly.
Also fixed the public profile page at /users/:id.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-12 23:02:45 +02:00
parent 62916a8397
commit b647e23f91
5 changed files with 37 additions and 12 deletions

View File

@@ -5,6 +5,7 @@ interface PublicProfile {
id: number;
displayName: string | null;
avatarUrl: string | null;
avatarImageUrl: string | null;
bio: string | null;
setups: { id: number; name: string; createdAt: string }[];
}