Skip to content

Commit

Permalink
Try using default_url_options set from SENDGRID_DOMAIN.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsummersl committed Mar 19, 2019
1 parent b33edf8 commit c5988a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options = {host: 'localhost:3000'}
config.action_mailer.default_url_options = {host: ENV['SENDGRID_DOMAIN']}

# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log
Expand Down

0 comments on commit c5988a0

Please sign in to comment.