This repository has been archived on 2021-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
2018-06-26 10:29:46 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-05-07 16:06:01 -04:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
2019-08-07 15:47:05 -04:00
|
|
|
# The key base was updated as part of 2.3
|
2019-07-23 14:53:48 -04:00
|
|
|
if Rails.configuration.loadbalanced_configuration
|
2019-08-07 15:47:05 -04:00
|
|
|
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_3_session',
|
2019-07-24 13:41:42 -04:00
|
|
|
domain: ENV['GREENLIGHT_SESSION_DOMAIN'] || 'blindside-dev.com'
|
2019-07-23 14:53:48 -04:00
|
|
|
else
|
2019-08-07 15:47:05 -04:00
|
|
|
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_3_session'
|
2019-07-23 14:53:48 -04:00
|
|
|
end
|