You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @davidmashe, thank you for the answer. However, I could not find my solution in the docs, and maybe, this could be a security issue. In my exemple I use JWTVerify in routes /associate, and when I call a /associate-auth route without JWTVerify, the Router execute an /associate route without JWTVerify.
Hello Folks, how u doing?
Here is my code:
Here is an exemple of my routes content:
The problem is:
When I don't set the root('/') in one of routes file, Express find the next file with the same method in root ('/').
How can I configure to return 404 when there is no route specify?
The text was updated successfully, but these errors were encountered: