Skip to content

Commit

Permalink
change cors resource
Browse files Browse the repository at this point in the history
  • Loading branch information
YoungHypo committed Dec 6, 2024
1 parent b2cbea6 commit eb7a1c7
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 @@ -3,7 +3,7 @@
origins 'http://localhost:8000',
/\Ahttp:\/\/.*\.elasticbeanstalk\.com\z/

resource '*',
resource '/api/*',
headers: :any,
methods: [:get, :post, :put, :patch, :delete, :options, :head],
credentials: true
Expand Down

0 comments on commit eb7a1c7

Please sign in to comment.