Skip to content

Commit

Permalink
Setting the asset host so that images in emails go to the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Sep 18, 2023
1 parent 383360d commit a3915c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
host: Rails.configuration.x.host, protocol: "https"
}

config.asset_host = "https://#{Rails.configuration.x.host}"

# Send mails to the locally running instance of Cuttlefish
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
Expand Down

0 comments on commit a3915c1

Please sign in to comment.