Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to apply named routes on multiple files of routes using express.Router? #34

Open
rohitkhatri opened this issue Sep 3, 2019 · 1 comment

Comments

@rohitkhatri
Copy link

rohitkhatri commented Sep 3, 2019

I'm trying to apply named-routes on my structure, but couldn't figure out how to do that

Here's my code:
https://codesandbox.io/s/named-routes-fb0np

I cannot access the route in middleware.

Can anyone please help?

@paweb88
Copy link

paweb88 commented Oct 26, 2020

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants