<commit_before>const productionConfig = {
  apiBase: 'http://api.storypalette.net/v1/',
  socketBase: 'http://api.storypalette.net/',
  environment: 'production',
  port: 8882,
};

const developmentConfig = {
  apiBase: 'http://localhost:8880/v1/',
  socketBase: 'http://localhost:8880/',
  environment: 'local',
  port: 8882,
}

const config = (process.env.NODE_ENV === 'development') ? developmentConfig : productionConfig;

module.exports = config;<commit_msg>Use heroku api base for now<commit_after>const productionConfig = {
  //apiBase: 'http://api.storypalette.net/v1/',
  //socketBase: 'http://api.storypalette.net/',
  apiBase: 'http://storypalette-server.herokuapp.com/v1/',
  socketBase: 'http://storypalette-server.herokuapp.com/',
  environment: 'production',
  port: 8882,
};

const developmentConfig = {
  apiBase: 'http://localhost:8880/v1/',
  socketBase: 'http://localhost:8880/',
  environment: 'local',
  port: 8882,
}

const config = (process.env.NODE_ENV === 'development') ? developmentConfig : productionConfig;

module.exports = config;
{'fraction_non_alphanumeric': 0.17231638418079095, 'fraction_numerical': 0.03483992467043315, 'mean_word_length': 4.684491978609626, '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': '6839692', 'n_tokens_mistral': 380, 'n_tokens_neox': 356, 'n_words': 64}