diff options
Diffstat (limited to 'src/app/app-routing.module.ts')
-rw-r--r-- | src/app/app-routing.module.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 2c25096..498467d 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts | |||
@@ -2,9 +2,11 @@ import { NgModule } from '@angular/core'; | |||
2 | import { RouterModule, Routes } from '@angular/router'; | 2 | import { RouterModule, Routes } from '@angular/router'; |
3 | 3 | ||
4 | import { RestApisComponent } from './rest-apis/rest-apis.component'; | 4 | import { RestApisComponent } from './rest-apis/rest-apis.component'; |
5 | import { MainPageComponent } from './main-page/main-page.component'; | ||
5 | 6 | ||
6 | 7 | ||
7 | const routes: Routes = [ | 8 | const routes: Routes = [ |
9 | { path: '', component: MainPageComponent }, | ||
8 | { path: 'apis', component: RestApisComponent } | 10 | { path: 'apis', component: RestApisComponent } |
9 | ]; | 11 | ]; |
10 | 12 | ||