I added a route that looks as follows
router.get('/:referral'...
but unfortunately this route catches everything, including other defined routes. I tried moving it to the bottom and top of the router file to no avail. What's the best way to configure priorities around these routes. Specifically how do I make it so that NSR only hits the referral route if no other routes match?
I added a route that looks as follows
router.get('/:referral'...but unfortunately this route catches everything, including other defined routes. I tried moving it to the bottom and top of the router file to no avail. What's the best way to configure priorities around these routes. Specifically how do I make it so that NSR only hits the referral route if no other routes match?