mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Explicitly add :host to actionmailer config
This commit is contained in:
@@ -31,7 +31,7 @@ Openfoodnetwork::Application.configure do
|
||||
config.force_ssl = true
|
||||
|
||||
# Use https when creating links in emails
|
||||
config.action_mailer.default_url_options = { protocol: 'https' }
|
||||
config.action_mailer.default_url_options = { protocol: 'https', host: Spree::Config[:site_url] }
|
||||
|
||||
# See everything in the log (default is :info)
|
||||
config.log_level = :info
|
||||
|
||||
@@ -31,7 +31,7 @@ Openfoodnetwork::Application.configure do
|
||||
config.force_ssl = true
|
||||
|
||||
# Use https when creating links in emails
|
||||
config.action_mailer.default_url_options = { protocol: 'https' }
|
||||
config.action_mailer.default_url_options = { protocol: 'https', host: Spree::Config[:site_url] }
|
||||
|
||||
# See everything in the log (default is :info)
|
||||
# config.log_level = :debug
|
||||
|
||||
Reference in New Issue
Block a user