wesleytodd / nighthawk

A wrapper around Express' router for the browser
ISC License
55 stars 7 forks source link

Fixes routers with a base path improperly setting req.path to the full url #8

Closed wesleytodd closed 7 years ago

wesleytodd commented 7 years ago

Express sets req.path to the sub app scoped path. Nighthawk was incorrectly setting it to the full url. This fixes that, but makes this a breaking change.