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
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Your [Route("/")] annotation is preventing that action from handling requests for any other URL, even if the SPA fallback route points to it. So this behaviour is as expected.
I'm assuming there's some reason why you want to put [Route("/")] on that action, but to provide useful guidance, could you let us know why it's necessary to do that? Perhaps then we can suggest an alternative.
In the meantime I'll mark this closed since it is as designed.
Repro
Navigating to "/counter" in the address bar correctly opens the relevant SPA route.
Now edit in
HomeController.cs
:Navigating to "/counter" in the address bar no longer works (HTTP 404).
The text was updated successfully, but these errors were encountered: