fix(dev): fix helo integration
This commit is contained in:
parent
551aa3a9d5
commit
4778c773b3
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ Rails.application.configure do
|
||||||
config.assets.raise_runtime_errors = true
|
config.assets.raise_runtime_errors = true
|
||||||
|
|
||||||
# Action Mailer settings
|
# Action Mailer settings
|
||||||
config.action_mailer.delivery_method = :letter_opener
|
config.action_mailer.delivery_method = ENV['HELO_ENABLED'] == 'enabled' ? :helo : :letter_opener
|
||||||
|
|
||||||
config.action_mailer.default_url_options = { host: ENV.fetch("APP_HOST") }
|
config.action_mailer.default_url_options = { host: ENV.fetch("APP_HOST") }
|
||||||
config.action_mailer.asset_host = "http://" + ENV.fetch("APP_HOST")
|
config.action_mailer.asset_host = "http://" + ENV.fetch("APP_HOST")
|
||||||
|
|
Loading…
Reference in a new issue