paulodiovani / hacktoberrank

Hacktoberfest Rank
https://hacktoberrank-challenge.herokuapp.com/
MIT License
6 stars 17 forks source link

Fix host and port for front-end #47

Closed paulodiovani closed 5 years ago

paulodiovani commented 5 years ago

Describe the bug

We need to have a better control over env vars to allow the project to run on a web server. In short, we need a way to inform the correct backend url.

Changes to do

Update src/api.js and set:

paulodiovani commented 5 years ago

Reopened, I notice an issue when using port 80 on heroku. Probably on other servers too: