diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2019-06-03 05:13:00 +0300 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2019-06-05 14:48:44 +0300 |
commit | 3f8ccac0327753f05db9458eb1c7e3584974ff9c (patch) | |
tree | fbbdec07c4e62e014a2dda950b2bcc84f75f2af9 /config/environments | |
parent | 31c32db2a97aab809e5b655889fb6b7b8b968060 (diff) |
Allow BetterErrors REPL to be enabled
This allows the BetterErrors REPL to be available
when your GitLab instance is listening on
something _other_ than localhost.
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/development.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index 494ddd72556..ac9b02b08d5 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -47,4 +47,7 @@ Rails.application.configure do config.assets.quiet = true config.allow_concurrency = defined?(::Puma) + + # BetterErrors live shell (REPL) on every stack frame + BetterErrors::Middleware.allow_ip!("127.0.0.1/0") end |