I'm deploying a site to GitHub Pages as per the instructions. Once deployed under a context path (i.e. not at the server root), relative links that worked in local development (like this one) no longer work. This seems to be because the BASE_URL is not configured correctly.
Description
I'm deploying a site to GitHub Pages as per the instructions. Once deployed under a context path (i.e. not at the server root), relative links that worked in local development (like this one) no longer work. This seems to be because the
BASE_URL
is not configured correctly.Proposed solution
Currently the provided settings look like this:
But for relative links to work, it needs a trailing slash:
Additional notes