<commit_before>import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { TournamentComponent, PlayersComponent } from './+tournament';

const routes: Routes = [
  {path: '', component: TournamentComponent, children: [
    {path: 'players', component: PlayersComponent}
  ]},
  {path: '**', redirectTo: ''},
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule],
  providers: []
})
export class AppRoutingModule { }<commit_msg>Changed the router strategy to use hash.<commit_after>import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { TournamentComponent, PlayersComponent } from './+tournament';

import { environment } from '../environments/environment';

const routes: Routes = [
  {path: '', component: TournamentComponent, children: [
    {path: 'players', component: PlayersComponent}
  ]},
  {path: '**', redirectTo: ''},
];

@NgModule({
  imports: [RouterModule.forRoot(routes, environment.production ? {useHash: true} : undefined)],
  exports: [RouterModule],
  providers: []
})
export class AppRoutingModule { }
{'fraction_non_alphanumeric': 0.16045099739809193, 'fraction_numerical': 0.0, 'mean_word_length': 5.48314606741573, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2949400', 'n_tokens_mistral': 339, 'n_tokens_neox': 338, 'n_words': 86}