Skip to content

Commit

Permalink
Fix url options on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
cdccollins committed Dec 10, 2024
1 parent e7c8563 commit 1b17aed
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 @@ -57,7 +57,7 @@
# config.action_mailer.raise_delivery_errors = false

# Set host to be used by links generated in mailer templates.
config.action_mailer.default_url_options = {host: "example.com"}
Rails.application.routes.default_url_options[:host] = ENV.fetch("PRODUCTION_DOMAIN")

# Specify outgoing SMTP server. Remember to add smtp/* credentials via rails credentials:edit.
# config.action_mailer.smtp_settings = {
Expand Down

0 comments on commit 1b17aed

Please sign in to comment.