Skip to content

Commit

Permalink
Merge pull request #3072 from bitzesty/allow-cors-all-methods-staging
Browse files Browse the repository at this point in the history
Relax allowed CORS methods to `any` [STAGING]
  • Loading branch information
matthewford authored Sep 2, 2024
2 parents f8c7010 + 822d8d1 commit 8f1e4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Application < Rails::Application
origins(*(ENV["CORS_HOST"] || "*").split(","))
resource "*",
headers: :any,
methods: %i[get options]
methods: :any
end
end
end
Expand Down

0 comments on commit 8f1e4f7

Please sign in to comment.