Skip to content

Commit

Permalink
Update cors.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
kjgarza committed May 16, 2023
1 parent 264823f commit f67c73b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/initializers/cors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@

# Rails.application.config.middleware.insert_before 0, Rack::Cors do
# allow do
# origins "" # replace with your actual trusted sites
# resource "graphql",
# headers: "*",
# methods: [:get, :post, :head, :options]
# origins 'example.com'
#
# resource '*',
# headers: :any,
# methods: [:get, :post, :put, :patch, :delete, :options, :head]
# end
# end

0 comments on commit f67c73b

Please sign in to comment.