Skip to content

Commit

Permalink
Allow all CORS hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
reagent committed Mar 12, 2024
1 parent 85e85db commit e1425dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/config/initializers/cors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Rails.application.config.middleware.insert_before 0, Rack::Cors do
allow do
origins 'localhost:3000'
origins '*'

resource '*',
headers: :any,
Expand Down

0 comments on commit e1425dd

Please sign in to comment.