مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
7 أسطر
293 B
Ruby
7 أسطر
293 B
Ruby
if Postal.config.rails&.secret_key
|
|
Rails.application.secrets.secret_key_base = Postal.config.rails.secret_key
|
|
else
|
|
$stderr.puts "No secret key was specified in the Postal config file. Using one for just this session"
|
|
Rails.application.secrets.secret_key_base = SecureRandom.hex(128)
|
|
end
|