AspNetCoreMvcAngular
AspNetCoreMvcAngular copied to clipboard
Routing only working within Angular (direct URL in browser doesn't work)
Hi @damienbod,
Thank you for this piece of brilliance.
I have noticed that the /about only works if you route within Angular. If you enter /about in the url of the browser it gets a 404 error, likewise if you do the same with /default. So it looks like we need some sort of fallback for routes.
Is there anyway to get this to work?
@cmcfie thanks, I'll have a look into this, but it seems like the server routing is getting hit first and not the client routing.
Greetings Damien