After deploying to IIS getting the 404 view and it quickly takes me to the desired view
I just deployed my app to IIS successfully, the only issue left is that when the page initially loads it gives me the 404 view and then it quickly takes me to the main angular view.
I'm not sure if this is related to the fact that my app was deployed on a subfolder (localhost/core). Since this IIS server hosts multiple sites we have to have subfolders.
Previously with AngularJS and .NET there was a setting on the web.config that would help with the subfolders on the url rewrite module:
<action type="Rewrite" url="/core/" />
However that doesn't seem to work.
Any ideas?
Did you get this working, Im having kinda the same problem.
@heavyflames not yet, are you running your site on a subfolder too?
@rufogongora Well no, My problem is that I want to change the default baseurl, for example: http://mysite.com = this is the default. But I want it to be http://mysite.com/en - The /en can change based on the language the user wants to use on the site.
But I get the same problem as you do, the page loads as it cant find the correct route, and after a couple of seconds it goes to my /en route and it works again...
@heavyflames @rufogongora Did you find any solution to this?