Skip to content

Commit

Permalink
default host for routes
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Oct 19, 2023
1 parent 6f89d38 commit 601499c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
config.action_mailer.asset_host = config.action_controller.asset_host
config.action_mailer.default_url_options = {host: ENV["HOST"]}
config.action_mailer.delivery_method = :smtp
Rails.application.routes.default_url_options[:host] = ENV["HOST"]

config.action_mailer.smtp_settings = {
address: ENV["SMTP_DOMAIN"],
Expand Down

0 comments on commit 601499c

Please sign in to comment.