I have two different Angular Apps and one App is redirecting to the other App using a hyperlink to a specific route. However, the system is throwing a Whitelabel Error Page. The empty path has no issue.
I used the default HTML 5 location strategy for the routing.
first app: "http://www.app1.com/" second app: "http://www.app2.com/"
the first app redirects to the second app thru: window.location.href = "http://www.app2.com/some-path";
This is my sample route in the second app:
{
path: 'some-path',
component: SomeComponent,
},
{
path: '',
component: SomeEmptyComponent,
}