Closed ryanlong1004 closed 2 years ago
This is not a good solution. The site should only use URLs relative to the root of the static site. The reason is that once a static site is generated, the user should be able to deploy it anywhere, and even move it around. So we cannot count on anything in the URL prior to the root where it is deployed.
We need not solve this now anyway, since there is only one link in the side bar, which can simply be linked to "#".
Closing per @rsdunlapiv
In order for links to work when the site is published to github pages, the web app will need the username passed to it in the JSON.
When the user click an option, that
<username>/<name>
will have to be prefixed to each call. Otherwise, they're take back to root.