Skip to content
New issue

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

Added proxy error handling middleware support. #104

Merged
merged 1 commit into from
Aug 27, 2015

Conversation

olysyuk
Copy link
Contributor

@olysyuk olysyuk commented Jun 1, 2015

It would be nice to handle proxy errors (show nice page on 404, or pass call to another middleware if proxy fails).

In my case I want to set up connect server, that will route request between frontend grunt serve and backend grunt serve.

Then I can just set up:

  1. proxy to frontend,
  2. if 404, than it's not a frontend file and backend proxy should handle the request.

drewzboto added a commit that referenced this pull request Aug 27, 2015
Added proxy error handling middleware support.
@drewzboto drewzboto merged commit 3e21263 into drewzboto:master Aug 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants