Petit changement sur les routes avant de commencer
l'ajout de la page de login
This commit is contained in:
@@ -47,6 +47,8 @@ import { RequestCache } from '../services/request-cache.service';
|
|||||||
import { CachingInterceptor } from '../services/caching-interceptor.service';
|
import { CachingInterceptor } from '../services/caching-interceptor.service';
|
||||||
|
|
||||||
const appRoutes: Routes = [
|
const appRoutes: Routes = [
|
||||||
|
{ path: '', component: DefaultComponent },
|
||||||
|
|
||||||
{ path: 'summary', component: SummaryComponent },
|
{ path: 'summary', component: SummaryComponent },
|
||||||
{ path: 'jumps', component: ListOfJumpsComponent },
|
{ path: 'jumps', component: ListOfJumpsComponent },
|
||||||
{ path: 'dzs', component: ListOfDzsComponent },
|
{ path: 'dzs', component: ListOfDzsComponent },
|
||||||
@@ -54,7 +56,8 @@ const appRoutes: Routes = [
|
|||||||
{ path: 'aircrafts', component: ListOfAircraftsComponent },
|
{ path: 'aircrafts', component: ListOfAircraftsComponent },
|
||||||
{ path: 'jumpTypes', component: ListOfJumpTypesComponent },
|
{ path: 'jumpTypes', component: ListOfJumpTypesComponent },
|
||||||
{ path: 'gears', component: ListOfGearsComponent },
|
{ path: 'gears', component: ListOfGearsComponent },
|
||||||
{ path: '**', component: DefaultComponent }
|
|
||||||
|
{ path: '**', redirectTo: '' }
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
Reference in New Issue
Block a user