<commit_before># Be sure to restart your server when you modify this file.

Rails.application.config.session_store :cookie_store, key: '_Panoptes_session'<commit_msg>allow cookie reuse across zooniverse subdomains (#3176)<commit_after># Be sure to restart your server when you modify this file.

domain =
  if %w(production staging).include?(Rails.env)
    # allow zooniverse.org subdomains for staging & production
    '.zooniverse.org'
  else
    # allow all subdomains for dev & test
    :all
  end

Rails.application.config.session_store :cookie_store,
    key: '_Panoptes_session',
    domain: domain
{'fraction_non_alphanumeric': 0.08264462809917356, 'fraction_numerical': 0.006611570247933884, 'mean_word_length': 4.509090909090909, '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': '231494', 'n_tokens_mistral': 188, 'n_tokens_neox': 178, 'n_words': 59}