<commit_before>
import * as actions from '../actions';


const url = (state = { host: 'http://localhost', port: 50051 }, action) => {
  switch (action.type) {
    case actions.URL.HOST_CHANGED:
      return Object.assign({}, state, {
        host: action.host,
      });
    case actions.URL.PORT_CHANGED:
      return Object.assign({}, state, {
        port: action.port,
      });
    default:
      return state;
  }
};<commit_msg>Remove http prefix from host<commit_after>
import * as actions from '../actions';


const url = (state = { host: 'localhost', port: 50051 }, action) => {
  switch (action.type) {
    case actions.URL.HOST_CHANGED:
      return Object.assign({}, state, {
        host: action.host,
      });
    case actions.URL.PORT_CHANGED:
      return Object.assign({}, state, {
        port: action.port,
      });
    default:
      return state;
  }
};
{'fraction_non_alphanumeric': 0.1541095890410959, 'fraction_numerical': 0.01141552511415525, 'mean_word_length': 2.49402390438247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2599318', 'n_tokens_mistral': 283, 'n_tokens_neox': 272, 'n_words': 70}