1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-25 12:08:13 +09:00
mastodon/config/initializers/session_store.rb
2018-01-05 20:04:22 +01:00

4 lines
205 B
Ruby

# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_mastodon_session', secure: (Rails.env.production? || ENV['LOCAL_HTTPS'] == 'true')