Skip to content

Commit

Permalink
Add Vercel to whitelist... again?
Browse files Browse the repository at this point in the history
  • Loading branch information
dsomel21 committed Feb 16, 2024
1 parent 8c96a01 commit 4adfa19
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 @@ -27,7 +27,7 @@ class Application < Rails::Application

config.middleware.insert_before 0, Rack::Cors do
allow do
origins 'https://spg.dev', /\A.*\.netlify\.app\z/, 'localhost:3000', 'https://beta.spg.dev', /\A.*\.vercel\.\z/
origins 'https://spg.dev', /\A.*\.netlify\.app\z/, 'localhost:3000', 'https://beta.spg.dev', /\A.*\.vercel\..*\z/

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

0 comments on commit 4adfa19

Please sign in to comment.