committed by
Abhay Chawla
parent
dffce8a5e0
commit
2feee9d8a2
@@ -2,14 +2,16 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
// Not Found Component
|
||||
import {NotFoundComponent} from './not-found/not-found.component';
|
||||
|
||||
/**
|
||||
* Fallback to this route when no prior route is matched.
|
||||
*/
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '**',
|
||||
redirectTo: '',
|
||||
pathMatch: 'full'
|
||||
component: NotFoundComponent
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user