diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-05-26 13:58:07 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-05-26 13:58:07 +0200 |
commit | fc6cf6169868e60c189e4b243330c3717ff159f3 (patch) | |
tree | 3f6dea9c1420e23756257b5abea27ec9ed92d58a /overlays/spm/frontend/src/app/app-routing.module.ts | |
parent | 84f2affd66a0ff3947b91a30308cb8e6a8ff7594 (diff) | |
download | nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.gz nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.bz2 nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.xz nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.zip |
...
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 { } | ||