summaryrefslogtreecommitdiff
path: root/overlays/spm/frontend/src/app/app-routing.module.ts
blob: 2da97cea58e4fe2c04cb1e135f8ee85c14dca7e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { SpmComponent } from './spm/spm.component';
import { PageNotFoundComponent } from './page-not-found/page-not-found.component';

const routes: Routes = [
  { path: 'spm', component: SpmComponent },
  { path: '', redirectTo: '/spm', pathMatch: 'full' },
  { path: '**', component: PageNotFoundComponent }
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }