Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - change forcastle root path #198

Open
rodrigo14miguel opened this issue Mar 9, 2022 · 0 comments
Open

Feature request - change forcastle root path #198

rodrigo14miguel opened this issue Mar 9, 2022 · 0 comments

Comments

@rodrigo14miguel
Copy link

Feature
Ability to change forecastle app root path

Use case
Serve several instances of forecastle under the same FQDN but through different paths.

Current issue
I have tried doing URL path rewrite through ingress controller, something like exposing one forecastle instance through example.com/firstinstace. When opening this URL in the browser, it tries some GETs of assets and favicon though the apps root URL example.com/ which leads to a broken page.
If the apps root could be changed, there would be no need to do a path rewrite.

How to
I don't understand react but I found this article https://skryvets.com/blog/2018/09/20/an-elegant-solution-of-deploying-react-app-into-a-subdirectory/ that explains the issue and how to solve it in the an-instruction-for-the-solution-with-base-url-element section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants