From c469684197aec09e6faba9cc4ed627720d03937d Mon Sep 17 00:00:00 2001 From: sam Date: Sat, 14 May 2022 19:24:33 +0430 Subject: [PATCH] add secret --- config/environments/production.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index ca775fe..bed8eb6 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -109,4 +109,6 @@ Rails.application.configure do # config.active_record.database_selector = { delay: 2.seconds } # config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver # config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session + # + config.secret_key_base = ENV['SECRET_KEY_BASE'] end