mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
update better errors
allow me to pass a special IP address in dev mode so I can debug ( set TRUSTED_IP )
This commit is contained in:
@@ -36,6 +36,7 @@ Discourse::Application.configure do
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
|
||||
config.action_mailer.raise_delivery_errors = true
|
||||
|
||||
|
||||
BetterErrors::Middleware.allow_ip! ENV['TRUSTED_IP'] if ENV['TRUSTED_IP']
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user