Skip to content

Commit

Permalink
Add https to action_mailer url options
Browse files Browse the repository at this point in the history
  • Loading branch information
SaravShah committed Sep 27, 2018
1 parent f6ceed2 commit 6a46923
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 @@ -62,7 +62,7 @@
# Use a real queuing backend for Active Job
config.active_job.queue_adapter = :resque

config.action_mailer.default_url_options = { host: 'sul-preassembly-prod.stanford.edu' } # needed by url_for() in mail templates
config.action_mailer.default_url_options = { host: 'sul-preassembly-prod.stanford.edu', protocol: 'https' } # needed by url_for() in mail templates
config.action_mailer.perform_caching = false

# Ignore bad email addresses and do not raise email delivery errors.
Expand Down

0 comments on commit 6a46923

Please sign in to comment.