Fix League Page Links on Academy Domain
Canadian Elite Volleyball Academy — Development Update • April 9, 2026
Fix League Page Links on Academy Domain
What & Why
On the production academy domain (isAcademy: true, isLeague: false), many league-related pages hardcode link paths without the prefix. Since these routes only exist under on the academy domain, clicking them redirects to the Action Center via the catch-all route. This affects schedule print buttons, player profile links, referee console links, and coordinator navigation across multiple files.Done looks like
- All league-related navigation links work correctly on the academy domain
- Links use the correct prefix based on domain context ( on academy, bare paths on league domain)
- No regressions on the league domain
- All affected pages are covered in one pass
Out of scope
- Navbar — appears unused (nothing imports it), so not fixing those links
- Refactoring routing architecture to avoid this class of bug long-term
Relevant files
- - - - - - - - -Canadian Elite Volleyball Academy
elitevolleyball.training
No comments:
Post a Comment