Skip to content

Commit

Permalink
Merge pull request #46 from WWC-Hackathon-2023/CORS
Browse files Browse the repository at this point in the history
BE | Open `CORS`
  • Loading branch information
MelTravelz authored Oct 21, 2023
2 parents 434c035 + 327ae1a commit d76acd4
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 d76acd4

Please sign in to comment.