1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

fix mail sending in staging envs

This commit is contained in:
Sylvain 2021-02-22 12:00:04 +01:00
parent 305e462011
commit 56200188a6

View File

@ -73,8 +73,8 @@ Rails.application.configure do
# config.serve_static_assets = true
config.action_mailer.default_url_options = {
host: ->(*) { Setting.get('base_url_host') },
protocol: ->(*) { Setting.get('base_url_protocol') }
host: Rails.application.secrets.default_host,
protocol: Rails.application.secrets.default_protocol
}
# config.action_mailer.perform_deliveries = true
# config.action_mailer.raise_delivery_errors = false