We defined ROOT_URL as a subfolder (eg. http://localhost:3000/docs).
If we didn't touch the code, it would just not work at all. Server would render correctly, but then client would re-render a blank page. Any thoughts on how to fix that?
We went ahead and made a few changes to the code, so now it works on a subfolder, but it has it's drawbacks. First, we had to include a meta tag, and now all links have to be relative instead of absolute. Second, although clicking a menu link will open the right URL, if you inspect the link, you'll notice that it points to what would be an invalid location, i.e., without the /docs, and so search engine crawlers wouldn't be able to crawl our page. Do you have a walkthrough on how to run this on a subfolder? TIA
We defined ROOT_URL as a subfolder (eg. http://localhost:3000/docs). If we didn't touch the code, it would just not work at all. Server would render correctly, but then client would re-render a blank page. Any thoughts on how to fix that? We went ahead and made a few changes to the code, so now it works on a subfolder, but it has it's drawbacks. First, we had to include a meta tag, and now all links have to be relative instead of absolute. Second, although clicking a menu link will open the right URL, if you inspect the link, you'll notice that it points to what would be an invalid location, i.e., without the /docs, and so search engine crawlers wouldn't be able to crawl our page. Do you have a walkthrough on how to run this on a subfolder? TIA