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

Update README to fix incorrect example #69

Merged
merged 1 commit into from
Aug 23, 2016
Merged

Conversation

stevenp
Copy link
Contributor

@stevenp stevenp commented Feb 19, 2016

I struggled with this example for a few hours, and then realized that the example doesn't return an error in the callback function, which prevents the request from failing properly in the case where there's no whitelist match. I've updated it in the simplest way possible to make it work.

@troygoode troygoode merged commit cebfccb into expressjs:master Aug 23, 2016
@troygoode
Copy link
Member

published as 2.7.2

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.

3 participants