diff --git a/Gemfile b/Gemfile index beea23a..f8e375e 100644 --- a/Gemfile +++ b/Gemfile @@ -73,7 +73,7 @@ end group :development do # Access an interactive console on exception pages or by calling 'console' anywhere in the code. - gem 'web-console', '>= 3.3.0' + gem 'web-console', '~> 4.2' gem 'listen', '~> 3.2' gem 'letter_opener' gem 'letter_opener_web' diff --git a/Gemfile.lock b/Gemfile.lock index 6396dbd..ff21ad9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -538,7 +538,7 @@ DEPENDENCIES tzinfo-data view_component warden - web-console (>= 3.3.0) + web-console (~> 4.2) webmock BUNDLED WITH diff --git a/config/environments/development.rb b/config/environments/development.rb index 1f96c8f..e13b809 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -69,7 +69,7 @@ Rails.application.configure do config.action_mailer.default_url_options = { host: "localhost:3000", protocol: "http" } # Allow requests from any IP - config.web_console.whiny_requests = false + config.web_console.permissions = '0.0.0.0/0' if ENV["S3_ENABLED"] config.active_storage.service = :s3