fixed a route pointing to nothing

pull/1/head
Chris Veilleux 2019-01-28 23:08:18 -06:00
parent eb0b5dc349
commit 221ec8cc6b
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import { LogoutComponent } from './logout/logout.component';
import { PageNotFoundComponent } from 'page-not-found';
const routes: Routes = [
{ path: 'profile', component: LoginComponent },
{ path: 'login', component: LoginComponent },
{ path: 'logout', component: LogoutComponent },
{ path: '', redirectTo: '/login', pathMatch: 'full' },
{ path: '**', component: PageNotFoundComponent }