diff --git a/Gemfile b/Gemfile index 6a104aaad..1260846fb 100644 --- a/Gemfile +++ b/Gemfile @@ -41,7 +41,7 @@ gem 'pg', '~> 1.4' gem 'pg_search' gem 'puma', '~> 6.4.2' gem 'pundit', '~> 2.3.0' -gem 'rack-cors', '~> 1.0', require: 'rack/cors' +gem 'rack-cors', '~> 2.0', require: 'rack/cors' if next? gem 'rails', '~> 6.1' else diff --git a/Gemfile.lock b/Gemfile.lock index cf5998618..5beb4c2a7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -349,7 +349,7 @@ GEM raabro (1.4.0) racc (1.7.1) rack (2.2.8.1) - rack-cors (1.1.1) + rack-cors (2.0.2) rack (>= 2.0.0) rack-protection (3.0.5) rack @@ -565,7 +565,7 @@ DEPENDENCIES pry puma (~> 6.4.2) pundit (~> 2.3.0) - rack-cors (~> 1.0) + rack-cors (~> 2.0) rails (~> 6.1) ranked-model (~> 0.4.8) restpack_serializer!