You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
By default, just the basic react app start script will bind to localhost. You can pass in a HOST variable in calling it of 0.0.0.0
Because of how Chromebook's have Ubuntu containers setup, I had a similar thing :) Need to look at port settings a bit deeper.
BUT -- the actual outcome here should be to move this to running Express, then we can build the other server endpoints I have in mind with Express, all in the same app.
Other part that needs to be done is have secrets as Heroku vars and expose them to React. Will also have some “non secret” vars to have as examples — although that would pretty much only be available locally.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
By default, just the basic react app start script will bind to localhost. You can pass in a HOST variable in calling it of 0.0.0.0
Because of how Chromebook's have Ubuntu containers setup, I had a similar thing :) Need to look at port settings a bit deeper.
BUT -- the actual outcome here should be to move this to running Express, then we can build the other server endpoints I have in mind with Express, all in the same app.
Here's an article about that https://originmaster.com/running-create-react-app-and-express-crae-on-heroku-c39a39fe7851
The text was updated successfully, but these errors were encountered: