Skip to content

Commit

Permalink
vercelは許可する
Browse files Browse the repository at this point in the history
  • Loading branch information
canisterism committed Jul 22, 2023
1 parent c011e2b commit c5d0650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/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 "http://localhost:3001", "https://clip-games.com", "https://clip-games-web.vercel.app"
origins "http://localhost:3001", "https://clip-games.com", "https://clip-games*.vercel.app"

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

0 comments on commit c5d0650

Please sign in to comment.