diff --git a/Gemfile b/Gemfile index d16c90b475..01076dfc8a 100644 --- a/Gemfile +++ b/Gemfile @@ -230,8 +230,8 @@ gem "sentry-ruby" # https://github.com/grosser/parallel_tests gem "parallel_tests", group: [:development, :test] -# CROS: https://github.com/cyu/rack-cors -gem "rack-cors" +# CORS: https://github.com/cyu/rack-cors +gem "rack-cors", "2.0.0" # Administrate dashboard gem "administrate" diff --git a/Gemfile.lock b/Gemfile.lock index 8d1c0e7847..afbbffae9e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -394,7 +394,7 @@ GEM raabro (1.4.0) racc (1.7.3) rack (2.2.8.1) - rack-cors (2.0.1) + rack-cors (2.0.0) rack (>= 2.0.0) rack-mini-profiler (3.0.0) rack (>= 1.2.0) @@ -672,7 +672,7 @@ DEPENDENCIES pg puma (~> 6.4.2) pundit (~> 2.2) - rack-cors + rack-cors (= 2.0.0) rack-mini-profiler (>= 2.3.3) rails (~> 7.0.8.1) rails-controller-testing (~> 1.0, >= 1.0.5)