I am trying to get a web page running on :9000 to make a request to a reverse proxy running in node on :8080 to accept requests as if it was on the same domain. I have learned that a different port == a different domain, thus OPTIONS requests are sent. My server comes back with 401 unauthorized, and angular's http client gets the response with no data, no code with a console error "invalid http status code 401 unauthorized".
I just want the reverse proxy to act as if it was on the same domain and say "OK" to these options requests.