diff --git a/Gemfile b/Gemfile index 3ba423b..1c78771 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,9 @@ source "https://rubygems.org" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem "rails", "~> 7.2.0.beta2" + +gem 'rack-cors' + # Use sqlite3 as the database for Active Record gem "sqlite3", ">= 1.4" # Use the Puma web server [https://github.com/puma/puma] diff --git a/Gemfile.lock b/Gemfile.lock index 70b763f..b5c78ac 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -137,6 +137,8 @@ GEM nio4r (~> 2.0) racc (1.8.0) rack (3.1.4) + rack-cors (2.0.2) + rack (>= 2.0.0) rack-session (2.0.0) rack (>= 3.0.0) rack-test (2.1.0) @@ -255,6 +257,7 @@ DEPENDENCIES brakeman debug puma (>= 5.0) + rack-cors rails (~> 7.2.0.beta2) rubocop-rails-omakase sqlite3 (>= 1.4)