Skip to content

Commit

Permalink
Merge pull request #82 from 1024pix/tech-add-protocol-to-asset-host
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentHardouin authored Mar 25, 2022
2 parents 7df4733 + 320a6b1 commit 6865d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
config.action_mailer.default_url_options = {
host: ENV['ACTION_MAILER_DEFAULT_HOST']
}
config.action_mailer.asset_host = config.action_mailer.default_url_options[:host]
config.action_mailer.asset_host = "https://#{config.action_mailer.default_url_options[:host]}"

# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
Expand Down

0 comments on commit 6865d0f

Please sign in to comment.