Skip to content

Commit 6ed598f

Browse files
committed
fix(app): replace deprecated value for initial navigation setting
1 parent cd58622 commit 6ed598f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const routes: Routes = [
1717
imports: [
1818
BrowserModule.withServerTransition({ appId: 'serverApp' }),
1919
BrowserAnimationsModule,
20-
RouterModule.forRoot(routes, { initialNavigation: 'enabled' }),
20+
RouterModule.forRoot(routes, { initialNavigation: 'enabledBlocking' }),
2121
NgProgressModule.withConfig({ speed: 250, spinner: true, thick: true }),
2222
NgProgressRouterModule,
2323
],

0 commit comments

Comments
 (0)