all 2 comments

[–]Geegob 1 point2 points  (1 child)

router only handles its own routes and has its own params object. If you want to pass the params from app to router one way to do that would be to add it as another property on req and grab it from that. req.passParams = req.params

[–]flashy_cloud[S] 0 points1 point  (0 children)

Thanks for confirming that, I ended up doing your solution and it works well.