|
@@ -12,7 +12,7 @@ import { TrainningServicesComponent } from './trainning-service/trainning-servic
|
|
|
|
|
|
|
|
|
|
const routes: Routes = [
|
|
const routes: Routes = [
|
|
- {path: '', redirectTo: '/ExternalPage', pathMatch: 'full'},
|
|
|
|
|
|
+ {path: '', redirectTo: '/InternalPage', pathMatch: 'full'},
|
|
{path: 'auth', loadChildren:'./auth-services/auth-services.module#AuthServicesModule'},
|
|
{path: 'auth', loadChildren:'./auth-services/auth-services.module#AuthServicesModule'},
|
|
{path: 'InternalPage' , loadChildren: './Internal-Page/internal-page.module#InternalPageModule', canLoad: [AuthGuard]},
|
|
{path: 'InternalPage' , loadChildren: './Internal-Page/internal-page.module#InternalPageModule', canLoad: [AuthGuard]},
|
|
{path: 'ExternalPage', loadChildren: './External-Page/external-page.module#ExternalPageModule', canLoad: [AuthGuard]},
|
|
{path: 'ExternalPage', loadChildren: './External-Page/external-page.module#ExternalPageModule', canLoad: [AuthGuard]},
|