tilde.news/config/initializers/session_store.rb

7 lines
311 B
Ruby

# Be sure to restart your server when you modify this file.
# match this in your nginx config for bypassing the file cache
Lobsters::Application.config.session_store :cookie_store,
key: 'lobster_trap',
expire_after: 1.month