We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd7ade1 commit 432a57bCopy full SHA for 432a57b
1 file changed
config/initializers/cors.rb
@@ -3,7 +3,7 @@
3
Rails.application.config.middleware.insert_before 0, Rack::Cors do
4
allow do
5
# The fallback (second argument) must be a single string separated by commas
6
- origins ENV.fetch('CORS_ORIGINS', 'http://localhost:5173,http://localhost:8888,https://prostaff.vercel.app,https://prostaff.gg,https://api.prostaff.gg').split(',')
+origins ENV.fetch('CORS_ORIGINS', 'http://localhost:5173,http://localhost:8888,https://prostaff.vercel.app,https://prostaff.gg,https://api.prostaff.gg').split(',')
7
8
resource '*',
9
headers: :any,
0 commit comments