<commit_before>var app = angular.module('mlf', [
  'ngCookies',
  'ngRoute',
  'ngDialog',
]);

var profile;

angular.element(document).ready(function() {
  $.get('api/Profile', function(data) {
    profile = data;
    angular.bootstrap(document, ['mlf']);
  });
});

app.config(['$routeProvider', '$locationProvider', '$httpProvider',
  function($routeProvider, $locationProvider, $httpProvider) {
    $routeProvider.when('/Home', {
      templateUrl: 'views/home.html',
      controller: 'HomeController',
    }).when('/', {
      redirectTo: '/Home'
    }).when('/SignUp', {
      templateUrl: 'views/sign_up.html',
      controller: 'SignUpController',
      loggedIn: false,
    }).when('/CreateLeague', {
      templateUrl: 'views/create_league.html',
      controller: 'CreateLeagueController',
      loggedIn: true,
    }).when('/Leagues', {
      templateUrl: 'views/leagues.html',
      controller: 'LeaguesController',
      loggedIn: true,
    }).when('/League/:leagueId', {
      templateUrl: 'views/league.html',
      controller: 'LeagueController',
    }).when('/EULA', {
      templateUrl: 'views/eula.html',
      controller: 'EULAController',
    }).otherwise({
      templateUrl: 'views/page_not_found.html',
      controller: 'MissingPageController',
    });

    $locationProvider.html5Mode(true);
<commit_msg>Changed routes to be case insensitive<commit_after>var app = angular.module('mlf', [
  'ngCookies',
  'ngRoute',
  'ngDialog',
]);

var profile;

angular.element(document).ready(function() {
  $.get('api/Profile', function(data) {
    profile = data;
    angular.bootstrap(document, ['mlf']);
  });
});

app.config(['$routeProvider', '$locationProvider', '$httpProvider',
  function($routeProvider, $locationProvider, $httpProvider) {
    $routeProvider.when('/Home', {
      templateUrl: 'views/home.html',
      controller: 'HomeController',
      caseInsensitiveMatch: true,
    }).when('/', {
      redirectTo: '/Home',
      caseInsensitiveMatch: true,
    }).when('/SignUp', {
      templateUrl: 'views/sign_up.html',
      controller: 'SignUpController',
      caseInsensitiveMatch: true,
      loggedIn: false,
    }).when('/CreateLeague', {
      templateUrl: 'views/create_league.html',
      controller: 'CreateLeagueController',
      caseInsensitiveMatch: true,
      loggedIn: true,
    }).when('/Leagues', {
      templateUrl: 'views/leagues.html',
      controller: 'LeaguesController',
      caseInsensitiveMatch: true,
      loggedIn: true,
    }).when('/League/:leagueId', {
      templateUrl: 'views/league.html',
      controller: 'LeagueController',
      caseInsensitiveMatch: true,
    }).when('/EULA', {
      templateUrl: 'views/eula.html',
      controller: 'EULAController',
      caseInsensitiveMatch: true,
    }).otherwise({
      templateUrl: 'views/page_not_found.html',
      controller: 'MissingPageController',
    });

    $locationProvider.html5Mode(true);

{'fraction_non_alphanumeric': 0.1677485480013666, 'fraction_numerical': 0.0006832934745473181, 'mean_word_length': 3.5046153846153847, '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': '2308064', 'n_tokens_mistral': 892, 'n_tokens_neox': 880, 'n_words': 151}