diff --git a/Gemfile b/Gemfile index 9608a67c0253d2..82db49e94272d3 100644 --- a/Gemfile +++ b/Gemfile @@ -70,7 +70,7 @@ gem 'public_suffix', '~> 5.0' gem 'pundit', '~> 2.3' 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 3a3dd25773937d..0206785bb0646d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -493,7 +493,7 @@ GEM rack (2.2.5) 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 @@ -834,7 +834,7 @@ DEPENDENCIES pundit (~> 2.3) rack (~> 2.2.5) 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)