diff --git a/Gemfile b/Gemfile index 87cb547da..2e1f160cb 100644 --- a/Gemfile +++ b/Gemfile @@ -69,7 +69,7 @@ gem 'posix-spawn' gem 'pundit', '~> 2.2' gem 'premailer-rails' gem 'rack-attack', '~> 6.6' -gem 'rack-cors', '~> 1.1', require: 'rack/cors' +gem 'rack-cors', '~> 2.0', require: 'rack/cors' gem 'rails-i18n', '~> 6.0' gem 'rails-settings-cached', '~> 0.6' gem 'redcarpet', '~> 3.5' diff --git a/Gemfile.lock b/Gemfile.lock index 4496a4f5d..7eba5b4ea 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -486,7 +486,7 @@ GEM rack (2.2.4) rack-attack (6.6.1) rack (>= 1.0, < 3) - rack-cors (1.1.1) + rack-cors (2.0.1) rack (>= 2.0.0) rack-oauth2 (1.19.0) activesupport @@ -815,7 +815,7 @@ DEPENDENCIES pundit (~> 2.2) rack (~> 2.2.4) rack-attack (~> 6.6) - rack-cors (~> 1.1) + rack-cors (~> 2.0) rack-test (~> 2.0) rails (~> 6.1.7) rails-controller-testing (~> 1.0)