fix error-pages 404 status #1309

Merged
merged 1 commit into from Aug 29, 2012

Projects

None yet

3 participants

Contributor
nickjj commented Aug 29, 2012

Moved the res.status(404) above the if statement so it gets applied to every accept header.

This pull request fails (merged 1b15af7 into 89c5aff).

@tj tj merged commit dd338b5 into expressjs:master Aug 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment