Premier League Predictor: Astro — Chapter 12, Exercise 3 ==================================================== TASK Set PUBLIC_BASE_PATH=/predictor in a real .env file, update every href/Astro.redirect()/fetch() call across Chapters 4-10 to use it, mount the app behind nginx at /predictor/ exactly as shown, and confirm every real user flow (creating a fixture, submitting a prediction, viewing the league table, navigating between gameweeks) works correctly through the mounted path — then unset the variable and confirm the exact same codebase still works correctly at the site root in dev mode with zero code changes. SOLUTION Steps to complete the hands-on part: 1. Add a real BASE_PATH constant (const BASE_PATH = import.meta.env.PUBLIC_BASE_PATH ?? '';) to every file that generates a path meant for the browser to follow: - src/pages/admin/seasons/[seasonId]/gameweeks/[gameweekNumber]/fixtures.astro (Chapter 4/10): the season-select navigation href, every gameweek-nav href, the Astro.redirect() call, and the data-* driven fetch() calls inside its own