diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2019-06-03 12:13:00 +1000 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2019-06-05 21:48:44 +1000 |
commit | 3f8ccac0327753f05db9458eb1c7e3584974ff9c (patch) | |
tree | fbbdec07c4e62e014a2dda950b2bcc84f75f2af9 /config | |
parent | 31c32db2a97aab809e5b655889fb6b7b8b968060 (diff) | |
download | gitlab-ce-3f8ccac0327753f05db9458eb1c7e3584974ff9c.tar.gz |
Allow BetterErrors REPL to be enabledashmckenzie/enable-better-errors-repl
This allows the BetterErrors REPL to be available
when your GitLab instance is listening on
something _other_ than localhost.
Diffstat (limited to 'config')
-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 |