-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
Config route #166
Comments
@delikatessa are you using v1 or v2 of Mozaik? |
v2 |
I think what you did is probably fine. My guess though is you might be able to come up with a more dynamic solution using Node's |
@brianespinosa thanks for the feedback! I will look into it. The thing is I don't want to fork the project just for this change. |
I'm deploying Mozaik dashboard in the subdirectory(e.g. localhost:8001/x/y) inside another react app (e.g. localhost:8001). All apps are running inside their own docker containers. I had the issue not being able to fetch config. And here is the way I solved it. Is there some other proper way to do it?
where I add REACT_APP_BASE_URL=localhost:8001/x/y in Dockerfile of the dashboard app.
I do not have much exp with react, so any advice or lead is appreciated.
The text was updated successfully, but these errors were encountered: