Bug Fix
Fixed username lookup redirect for private-link share mode
Resolved an issue where users entering their Plex username on the landing page would receive a 404 error when the share mode was set to private-link.
Problem: The username lookup feature was redirecting all users to the standard user ID URL format (/wrapped/{year}/u/{userId}), which requires either authentication or public sharing mode. This caused lookups to fail for users with private-link mode enabled, as that mode requires a token-based URL.
Solution: The landing page now checks the effective share mode after resolving a username and redirects to the appropriate URL:
- For
private-linkmode: redirects to the token-based URL - For other modes: redirects to the standard user ID URL