W01fw00d / escaping_boredom

Prototype of a Reviews App (Escape Rooms)
https://escaping-boredom.herokuapp.com/
0 stars 0 forks source link

How to proxy api requests #38

Open W01fw00d opened 4 years ago

W01fw00d commented 4 years ago

In order to use only one server in production to serve the bundle.js and listen to api calls, same port is being use for everything.

It's technically possible to prepare a proxy to redirect those calls on the code to the same port, it would be a better solution

W01fw00d commented 4 years ago

https://devcenter.heroku.com/articles/dynos#local-environment-variables