const appRoutes: Routes = [
{
path: 'home',
component: HomeComponent
},
{
path: 'login',
component: LoginComponent
}
];
The "/home" route should go to "http://mysite/home" and "/login" should go to "https://mysite/login". Please pay attention the first one starts with "http://" and the second one starts with "https://". How is it possible to configure the router to use different origins for routes? Or at least http / https for the same origin?