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 7001449 commit 4ea0fbbCopy full SHA for 4ea0fbb
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,http://localhost:4444,https://scrims.lol,https://prostaff.vercel.app,https://prostaff.gg,https://www.prostaff.gg,https://api.prostaff.gg,https://status.prostaff.gg,https://docs.prostaff.gg').split(',')
+ origins ENV.fetch('CORS_ORIGINS', 'http://localhost:3000,http://localhost:5173,http://localhost:8888,http://localhost:4444,https://scrims.lol,https://prostaff.vercel.app,https://prostaff.gg,https://www.prostaff.gg,https://api.prostaff.gg,https://status.prostaff.gg,https://docs.prostaff.gg,https://arenabr.gg,https://www.arenabr.gg').split(',')
7
8
resource '*',
9
headers: :any,
0 commit comments