Closed
Description
I feel like an idiot...
I have create-react-app and a Rails 5 API. All requests should hit the rails server, and I was able to use the proxy feature in package.json
, which is awesome!
"proxy": "http://localhost:3001"
But how do I do this in production? In production my rails server can't live at the same domain as my create-react-app right, unless I am missing something?
Thanks for your help.