I can use
app.get('/:someVar/xxxxx', function(req, res) { /* etc */ });
to get someVar by req.params.someVar. However, I want both www.example.com/12345/xxxxx and www.example.com/xxxxx to go into the same app.get
How should I approach this problem?