Skip to content

Commit

Permalink
feat: remove hash location opt in
Browse files Browse the repository at this point in the history
- hash location strategy is no longer necessary to work with GiiHub Pages
  • Loading branch information
tino-tg committed Jun 11, 2021
1 parent 30628f0 commit 750a1cf
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ const routes: Routes = [
];

@NgModule({
// useHash supports github.io demo page, remove in your app
imports: [
RouterModule.forRoot(routes, {
useHash: true,
scrollPositionRestoration: 'enabled',
preloadingStrategy: PreloadAllModules,
relativeLinkResolution: 'legacy'
Expand Down

0 comments on commit 750a1cf

Please sign in to comment.