<commit_before>Api::Application.configure do
  config.middleware.insert_before 0, Rack::Cors do
    allow do
      origins 'www.bountysource.com', 'salt.bountysource.com'
      resource '*', headers: :any, methods: [:get, :post, :options, :patch, :delete]
    end
  end
  # Code is not reloaded between requests
  config.cache_classes = true

  # Full error reports are disabled and caching is turned on
  config.consider_all_requests_local       = false
  config.action_controller.perform_caching = true

  # Compress JavaScripts and CSS
  config.assets.compress = true
  config.assets.css_compressor = :sass
  config.assets.js_compressor  = Uglifier.new(mangle: false, harmony: true)
  config.action_controller.asset_host = "https://d2bbtvgnhux6eq.cloudfront.net"


  # Don't fallback to assets pipeline if a precompiled asset is missed
  config.assets.compile = false

  # Generate digests for assets URLs
  config.assets.digest = true

  # Defaults to nil and saved in location specified by config.assets.prefix
  # config.assets.manifest = YOUR_PATH
<commit_msg>remove rack cors<commit_after>Api::Application.configure do
  # Code is not reloaded between requests
  config.cache_classes = true

  # Full error reports are disabled and caching is turned on
  config.consider_all_requests_local       = false
  config.action_controller.perform_caching = true

  # Compress JavaScripts and CSS
  config.assets.compress = true
  config.assets.css_compressor = :sass
  config.assets.js_compressor  = Uglifier.new(mangle: false, harmony: true)
  config.action_controller.asset_host = "https://d2bbtvgnhux6eq.cloudfront.net"


  # Don't fallback to assets pipeline if a precompiled asset is missed
  config.assets.compile = false

  # Generate digests for assets URLs
  config.assets.digest = true

  # Defaults to nil and saved in location specified by config.assets.prefix
  # config.assets.manifest = YOUR_PATH

{'fraction_non_alphanumeric': 0.07792887029288703, 'fraction_numerical': 0.002615062761506276, 'mean_word_length': 4.14247311827957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, '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': '2955466', 'n_tokens_mistral': 588, 'n_tokens_neox': 559, 'n_words': 164}