disabling livereload and updating mailcatcher settings
This commit is contained in:
@@ -40,14 +40,15 @@ Railsgoat::Application.configure do
|
||||
|
||||
# ActionMailer settings for email support
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
|
||||
config.action_mailer.smtp_settings = { :address => "127.0.0.1", :port => 1025 }
|
||||
config.action_mailer.default_url_options = { :host => "127.0.0.1:3000" }
|
||||
|
||||
config.middleware.insert_before(
|
||||
Rack::Lock, Rack::LiveReload,
|
||||
:min_delay => 500,
|
||||
:max_delay => 1000,
|
||||
:port => 35727,
|
||||
:host => 'railsgoat.dev',
|
||||
:ignore => [ %r{dont/modify\.html$} ]
|
||||
)
|
||||
# config.middleware.insert_before(
|
||||
# Rack::Lock, Rack::LiveReload,
|
||||
# :min_delay => 500,
|
||||
# :max_delay => 1000,
|
||||
# :port => 35727,
|
||||
# :host => 'railsgoat.dev',
|
||||
# :ignore => [ %r{dont/modify\.html$} ]
|
||||
# )
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user