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.
This commit is contained in:
parent
31c32db2a9
commit
3f8ccac032
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue