Skip to content

Commit

Permalink
Merge pull request #903 from mandelbro/887-nwmi-confirmation-email-is…
Browse files Browse the repository at this point in the history
…-incorrectly-linking-to-port-38076

Set default mailer url for production
  • Loading branch information
solebared authored Mar 16, 2021
2 parents 6f47d02 + 005b1d2 commit bfd4d39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false

# Set default mailer url
config.action_mailer.default_url_options = { host: ENV['SYSTEM_HOST_NAME'] }

# Inserts middleware to perform automatic connection switching.
# The `database_selector` hash is used to pass options to the DatabaseSelector
# middleware. The `delay` is used to determine how long to wait after a write
Expand Down

0 comments on commit bfd4d39

Please sign in to comment.