Ah I see. This pull request was to add support for the middlewares based on a path. With this feature I am now able to mount middlewares in specific paths (for Passport.js)