Skip to content

Commit

Permalink
feat: Allow CORS originas '*'
Browse files Browse the repository at this point in the history
  • Loading branch information
MelTravelz committed Oct 21, 2023
1 parent 434c035 commit 327ae1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 "example.com"
origins "*"

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

0 comments on commit 327ae1a

Please sign in to comment.