Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
vrr: email links should be https
Browse files Browse the repository at this point in the history
  • Loading branch information
mcritchlow authored and hweng committed Jun 6, 2019
1 parent 1098820 commit e0a19ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
config.action_mailer.delivery_method = :sendmail
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true
config.action_mailer.default_url_options = {host: 'library.ucsd.edu'}
config.action_mailer.default_url_options = {
host: 'library.ucsd.edu',
protocol: 'https'
}


# Use a different logger for distributed setups
Expand Down
5 changes: 4 additions & 1 deletion config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
config.action_mailer.delivery_method = :sendmail
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true
config.action_mailer.default_url_options = {host: 'librarytest.ucsd.edu'}
config.action_mailer.default_url_options = {
host: 'librarytest.ucsd.edu',
protocol: 'https'
}

# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found)
Expand Down

0 comments on commit e0a19ec

Please sign in to comment.