blob: 4af1519a487015a0f020bcf5b6049405a9e4c21c (
plain)
1
2
3
4
5
6
|
if Rails.env.production?
# Only serve session cookies over HTTPS
Rails.application.config.session_store :cookie_store, key: 'map_session', expire_after: 7.days, httponly: true, secure: true
else
Rails.application.config.session_store :cookie_store, key: 'map_session', expire_after: 7.days
end
|