Skip to content

Commit

Permalink
Update production.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Oct 18, 2024
1 parent 7f8ba28 commit 36a66b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,9 @@
# config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver
# config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session

config.session_store(:cookie_store, key: '_mint_website_backend_session', secure: Rails.env.production?, domain: :all)
config.session_store(
:cookie_store,
key: '_mint_website_backend_session',
secure: Rails.env.production?,
domain: ['.mint-lang.com', '.netlify.app'])
end

0 comments on commit 36a66b2

Please sign in to comment.