Going Prod #1284
Replies: 1 comment 1 reply
-
Hi @DiegoDeMauro-Navigator The REACT_APP_BASE_URL refers to the base url of the api that your React app will be making requests to. This is why it didn't have the intended effect that you wanted it to have. If you wish to change the port that your React App is running on, you can view this StackOverflow answer. However, I assume you are trying to deploy your application with a custom domain? If so, I don't believe changing the port is what you are looking for but rather how to map a custom domain to the server your CCF frontend is running on. It would be helpful to know a little bit more info on how/where you're trying to deploy the dashboard. Since we use Create-React-App under the hood, you're welcome to check out some of their deployment docs as well. |
Beta Was this translation helpful? Give feedback.
-
Can someone help?
After testing with good results, I would like to setup the Dashboard on a production environment, and was unable to find in the documentation how to tweek some parameters.
after clonning the git repository, configuring and starting, it seems to be starting a development webpack in port 3000.
Changing the REACT_APP_BASE_URL in .env of the client did not took any effect aparently, and trying to access the dashboard using a dns name returns Invalid Host header.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions