summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock3
2 files changed, 4 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index ecaa713..551fdc7 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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