<commit_before>import App from '../containers/App'

function createRedirect(from, to) {
  return {
    path: from,
    onEnter(nextState, replaceState) {
      replaceState(nextState, to)
    },
  }
}

const routes = [
  createRedirect('/', '/explore'),
  {
    path: '/',
    component: App,
    // order matters, so less specific routes should go at the bottom
    childRoutes: [
      require('./post_detail'),
      ...require('./authentication'),
      ...require('./discover'),
      ...require('./streams'),
      require('./notifications'),
      ...require('./settings'),
      ...require('./invitations'),
      createRedirect('onboarding', '/onboarding/communities'),
      require('./onboarding'),
      ...require('./search'),
      require('./user_detail'),
    ],
  },
]

export default routes
<commit_msg>Remove settings from the routes for the moment<commit_after>import App from '../containers/App'

function createRedirect(from, to) {
  return {
    path: from,
    onEnter(nextState, replaceState) {
      replaceState(nextState, to)
    },
  }
}

const routes = [
  createRedirect('/', '/explore'),
  {
    path: '/',
    component: App,
    // order matters, so less specific routes should go at the bottom
    childRoutes: [
      require('./post_detail'),
      ...require('./authentication'),
      ...require('./discover'),
      ...require('./streams'),
      require('./notifications'),
      ...require('./invitations'),
      createRedirect('onboarding', '/onboarding/communities'),
      require('./onboarding'),
      ...require('./search'),
      require('./user_detail'),
    ],
  },
]

export default routes

{'fraction_non_alphanumeric': 0.18259281801582472, 'fraction_numerical': 0.0, 'mean_word_length': 2.6211453744493394, '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': '2535237', 'n_tokens_mistral': 459, 'n_tokens_neox': 452, 'n_words': 102}