We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to proxy request to /api to external server:
app.all('/api/*', function(req, res){ proxy.web(req, res, { target: 'http://someexternalserver.com'}, function(err){ res.status(502).send(err) }); });
But proxy returns (client gets) 404. Where someexternalserver.com is hosting server.
someexternalserver.com
This works with localhost. It should be simple. What is the problem?
The text was updated successfully, but these errors were encountered:
this is due to #696
Sorry, something went wrong.
Fixed with #723
No branches or pull requests
Trying to proxy request to /api to external server:
But proxy returns (client gets) 404. Where
someexternalserver.com
is hosting server.This works with localhost. It should be simple. What is the problem?
The text was updated successfully, but these errors were encountered: