diff options
Diffstat (limited to 'overlays/spm/frontend/src/app/app-routing.module.ts')
-rw-r--r-- | overlays/spm/frontend/src/app/app-routing.module.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/overlays/spm/frontend/src/app/app-routing.module.ts b/overlays/spm/frontend/src/app/app-routing.module.ts new file mode 100644 index 00000000..2da97cea --- /dev/null +++ b/overlays/spm/frontend/src/app/app-routing.module.ts | |||
@@ -0,0 +1,17 @@ | |||
1 | import { NgModule } from '@angular/core'; | ||
2 | import { RouterModule, Routes } from '@angular/router'; | ||
3 | |||
4 | import { SpmComponent } from './spm/spm.component'; | ||
5 | import { PageNotFoundComponent } from './page-not-found/page-not-found.component'; | ||
6 | |||
7 | const routes: Routes = [ | ||
8 | { path: 'spm', component: SpmComponent }, | ||
9 | { path: '', redirectTo: '/spm', pathMatch: 'full' }, | ||
10 | { path: '**', component: PageNotFoundComponent } | ||
11 | ]; | ||
12 | |||
13 | @NgModule({ | ||
14 | imports: [RouterModule.forRoot(routes)], | ||
15 | exports: [RouterModule] | ||
16 | }) | ||
17 | export class AppRoutingModule { } | ||