Skip to content

Commit

Permalink
Added 'rack-cors' to deal with any cors issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Friend committed Jul 1, 2024
1 parent dff94b6 commit 534df76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -255,6 +257,7 @@ DEPENDENCIES
brakeman
debug
puma (>= 5.0)
rack-cors
rails (~> 7.2.0.beta2)
rubocop-rails-omakase
sqlite3 (>= 1.4)
Expand Down

0 comments on commit 534df76

Please sign in to comment.