mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:19:52 +01:00
Configure better_errors to work in Docker environments
This commit is contained in:
parent
a381483bb4
commit
833c0cb671
1 changed files with 4 additions and 0 deletions
|
@ -72,3 +72,7 @@ Rails.application.configure do
|
|||
# routes, locales, etc. This feature depends on the listen gem.
|
||||
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
||||
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 a new issue