hi guys,
i already have something like this:
app.get('test_url/:some_param',(req, res, next) => {
console.log(req.route)
res.send('test page')
})
to show route definition like : test_url/:some_param
but when i get it from middleware in the same way i get undefined result,
after try console the req value i just got Url key which the value is
something like: test_url/12345
this is not what i want.
my question is: is it possible get route definition over middleware?
i will very thankfully if some one get me any possible answer.
and sorry for my bad in english
regard
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/91e73d30-0615-4cab-b0ab-2f0685e59b11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.