diff options
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | Gemfile.lock | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -36,7 +36,7 @@ gem 'bootsnap', require: false # gem "image_processing", "~> 1.2" # Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible -# gem "rack-cors" +gem 'rack-cors' # JSON serializer. gem 'jsonapi-serializer' diff --git a/Gemfile.lock b/Gemfile.lock index ad99571..a623c5a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -111,6 +111,8 @@ GEM nio4r (~> 2.0) racc (1.6.2) rack (2.2.6.2) + rack-cors (2.0.0) + rack (>= 2.0.0) rack-test (2.0.2) rack (>= 1.3) rails (7.0.4.2) @@ -175,6 +177,7 @@ DEPENDENCIES jsonapi-serializer mysql2 puma (~> 5.0) + rack-cors rails (~> 7.0.4, >= 7.0.4.2) rspec-rails (~> 6.0.0) tzinfo-data |