fix(web): load profile photos on mobile #127

Merged
joshuafhiggins merged 1 commits from t3/fix-mobile-profile-photos into main 2026-11-19 23:53:01 -05:00
Owner

Profile photos don't show in the mobile app. Since #100, avatars are served from /api/user/:id/avatar, but that route was never added to the proxy's public paths. Mobile requests don't carry the web auth cookie, so they get a 307 to /signin instead of the image. Web works because the browser sends the cookie.

Add the avatar route to the public matcher alongside the album, artist and playlist cover routes. Avatar URLs are keyed by user id and storage id, same as covers.

🤖 Generated with Claude Code (Claude Opus 5.5)

Profile photos don't show in the mobile app. Since #100, avatars are served from `/api/user/:id/avatar`, but that route was never added to the proxy's public paths. Mobile requests don't carry the web auth cookie, so they get a 307 to `/signin` instead of the image. Web works because the browser sends the cookie. Add the avatar route to the public matcher alongside the album, artist and playlist cover routes. Avatar URLs are keyed by user id and storage id, same as covers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) (Claude Opus 5.5)
joshuafhiggins added 1 commit 2026-11-19 23:52:30 -05:00
joshuafhiggins merged commit 85687da93d into main 2026-11-19 23:53:01 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joshuafhiggins/otunes#127