fix: action mailer overwrites production delivery method

parent 1c77fc6b
if Rails.env.production?
ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.default_url_options = {
host: ENV['DEVISE_EMAIL_DOMAIN'] || 'staging.aoz-freiwillige.ch',
protocol: 'https'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment