I’m having trouble getting a dynamic React route to work on render. All my other, non-dynamic routes work, but this one doesn’t for some reason and I’m not sure why. This route also works fine when I run the app locally, but deployment wise I just get a “Cannot GET Error”. Is there some file I need to add to make this work?
<Route path=“/resetPassword/:id/:token” element={ ResetPassword } />
Example:
https://myapp.onrender.com/login works
https://myapp.onrender.com/123/456 does not work, even though it should