Reputation: 385
I'm building an app. the app eventually will be in sub domain. when i upload the dist file to the sub domain everything going well but the url shows without the suffix 'index.html' i.e domain.com/app/folder/ and i need it to be the full path - domain.com/app/folder/index.html (in my case index.htm)
Does anyone knows how to configure it?
Upvotes: 0
Views: 752
Reputation: 3141
You can specify the base href
in your index.html
, and the angular router will recognize it, so <base href="example.com/folder/index.htm">
worths trying.
Upvotes: 3