Can you directly invoke a router.get(...)
function in Express?
Let's say I have a
router.get('/my-route', function(req, res) { ... });
, is it feasible to then, within another part of my code, use res.redirect('my-route');
with the expectation that the router will capture it?
Appreciate any insights. Thanks