fixed a route pointing to nothing
parent
eb0b5dc349
commit
221ec8cc6b
|
@ -6,7 +6,7 @@ import { LogoutComponent } from './logout/logout.component';
|
||||||
import { PageNotFoundComponent } from 'page-not-found';
|
import { PageNotFoundComponent } from 'page-not-found';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: 'profile', component: LoginComponent },
|
{ path: 'login', component: LoginComponent },
|
||||||
{ path: 'logout', component: LogoutComponent },
|
{ path: 'logout', component: LogoutComponent },
|
||||||
{ path: '', redirectTo: '/login', pathMatch: 'full' },
|
{ path: '', redirectTo: '/login', pathMatch: 'full' },
|
||||||
{ path: '**', component: PageNotFoundComponent }
|
{ path: '**', component: PageNotFoundComponent }
|
||||||
|
|
Loading…
Reference in New Issue