diff --git a/config/environments/production.rb b/config/environments/production.rb index 6c1ea4f..08526af 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -37,6 +37,9 @@ Errbit::Application.configure do # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false + # Set default host for ActionMailer links + config.action_mailer.default_url_options = { :host => ENV['ERRBIT_HOST'] } if ENV['ERRBIT_HOST'] + # Enable threaded mode # config.threadsafe! -- libgit2 0.21.2