@ -85,7 +85,7 @@ Rails.application.configure do
|
|||||||
host: ENV['CANONICAL_HOST'],
|
host: ENV['CANONICAL_HOST'],
|
||||||
protocol: ENV['CANONICAL_HOST_PROTOCOL'] || 'https'
|
protocol: ENV['CANONICAL_HOST_PROTOCOL'] || 'https'
|
||||||
}
|
}
|
||||||
|
config.action_mailer.asset_host = ENV['CANONICAL_HOST']
|
||||||
|
|
||||||
config.action_mailer.delivery_method = :smtp
|
config.action_mailer.delivery_method = :smtp
|
||||||
config.action_mailer.smtp_settings = {
|
config.action_mailer.smtp_settings = {
|
||||||
@ -96,8 +96,6 @@ Rails.application.configure do
|
|||||||
password: ENV['SMTP_PASSWORD'],
|
password: ENV['SMTP_PASSWORD'],
|
||||||
authentication: ENV['SMTP_AUTHENTICATION'] || 'plain',
|
authentication: ENV['SMTP_AUTHENTICATION'] || 'plain',
|
||||||
enable_starttls_auto: ENV['SMTP_ENABLE_STARTTLS_AUTO'] || 'true'
|
enable_starttls_auto: ENV['SMTP_ENABLE_STARTTLS_AUTO'] || 'true'
|
||||||
open_timeout: 5,
|
|
||||||
read_timeout: 5
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
||||||
|
Reference in New Issue
Block a user