router not match fix
This commit is contained in:
parent
d1604bfd88
commit
8afb553158
@ -12,7 +12,7 @@ const routes: Routes = [
|
|||||||
{ path: 'projects', component: ProjectsComponent, title: "Bangara Raju - Projects" },
|
{ path: 'projects', component: ProjectsComponent, title: "Bangara Raju - Projects" },
|
||||||
{ path: 'weblog', component: BlogComponent, title: "Bangara Raju - Posts" },
|
{ path: 'weblog', component: BlogComponent, title: "Bangara Raju - Posts" },
|
||||||
{ path: 'contact', component: ContactComponent, title: "Bangara Raju - Contact" },
|
{ path: 'contact', component: ContactComponent, title: "Bangara Raju - Contact" },
|
||||||
{ path: '**', redirectTo: ''}
|
{ path: '**', redirectTo: '/'}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user