Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes 404 when request header Accept-Encoding not set
When static middleware is enabled, sending a request without Accept-Encoding set would cause a premature call to pass() before checking if the requested file exists. This meant that calls to normal Express routes would be intercepted and result in 404s.
- Loading branch information