Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 385 Bytes

README.md

File metadata and controls

14 lines (7 loc) · 385 Bytes

flask router plus

Flask router upgrade that adds router.use and request.usePath to easily nest isolated routers

request.usePath

For every request sent to the router, returns the use path of the router i.e. the path in connect.use(path, flaskRouter)

router.use

router.use('/path', middleware, ...)

Like router.all, but modifies req.url to remove the path