Skip to content

Commit 3075bd4

Browse files
committed
@angular/core migration - migration-v15-relative-link-resolution
In Angular version 15, the deprecated `relativeLinkResolution` config parameter of the Router is removed. This migration removes all `relativeLinkResolution` fields from the Router config objects.
1 parent cd1b2d2 commit 3075bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/app-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const routes: Routes = [
1515
];
1616

1717
@NgModule({
18-
imports: [RouterModule.forRoot(routes, { useHash: true, relativeLinkResolution: 'legacy' })],
18+
imports: [RouterModule.forRoot(routes, { useHash: true })],
1919
exports: [RouterModule]
2020
})
2121
export class AppRoutingModule {

0 commit comments

Comments
 (0)