Skip to content

Commit 73998eb

Browse files
authored
App now defaults to about page when opened
1 parent 59f0d62 commit 73998eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Angular2/ClientApp/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { AboutComponent } from './components/about/about.component';
2121
imports: [
2222
UniversalModule, // Must be first import. This automatically imports BrowserModule, HttpModule, and JsonpModule too.
2323
RouterModule.forRoot([
24-
{ path: '', redirectTo: 'books', pathMatch: 'full' },
24+
{ path: '', redirectTo: 'about', pathMatch: 'full' },
2525
{ path: 'books', component: BooksComponent },
2626
{ path: 'characters', component: CharacterComponent },
2727
{ path: 'series', component: SeriesComponent },

0 commit comments

Comments
 (0)