Configure better_errors to work in Docker environments
This commit is contained in:
parent
a381483bb4
commit
833c0cb671
|
@ -72,3 +72,7 @@ Rails.application.configure do
|
||||||
# routes, locales, etc. This feature depends on the listen gem.
|
# routes, locales, etc. This feature depends on the listen gem.
|
||||||
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# For better_errors to work inside Docker we need
|
||||||
|
# to allow 0.0.0.0 as an IP in development context
|
||||||
|
BetterErrors::Middleware.allow_ip! "0.0.0.0/0"
|
||||||
|
|
Loading…
Reference in New Issue