I'm trying to redirect traffic from my test app's /api/* url to my api hosted on Heroku.
Therefore, localhost/api/hello should be proxied to testapp.heroku.com/hello and the response returned.
Using node-http-proxy works perfectly on localhost to localhost, but when I point it to myapp.heroku.com, I get this error:
Heroku | No such app
There is no app configured at that hostname.
Perhaps the app owner has renamed it, or you mistyped the URL.
I have a feeling it's Heroku's routing system that's fudging up my proxied request, and I haven't found a way to fix it. Any ideas?