diff options
Diffstat (limited to 'config/environments/development.rb')
-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 6b44af3b658..3823b76d0f2 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -47,6 +47,7 @@ Rails.application.configure do config.lookbook.page_paths = ["#{config.root}/spec/components/docs"] config.lookbook.preview_params_options_eval = true config.lookbook.preview_display_options = { + layout: %w[fixed fluid], theme: ["light", "dark (alpha)"] } @@ -74,6 +75,8 @@ Rails.application.configure do # BetterErrors live shell (REPL) on every stack frame BetterErrors::Middleware.allow_ip!("127.0.0.1/0") + # Disable REPL due to security concerns. + BetterErrors.binding_of_caller_available = false # Reassign some performance related settings when we profile the app if Gitlab::Utils.to_boolean(ENV['RAILS_PROFILE'].to_s) |