Skip to content

How to have prioritized routes? #18

Description

@bobrenjc93

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions