Spaces:
Running

axeronis commited on
Commit
64797de
·
1 Parent(s): b45f01e

Config: Add production URL to CORS origins

Browse files
Files changed (1) hide show
  1. backend/app/core/config.py +1 -1
backend/app/core/config.py CHANGED
@@ -35,7 +35,7 @@ class Settings(BaseSettings):
35
  # CORS - Allowed Origins (comma-separated)
36
  # Development: http://localhost:3000
37
  # Production: https://your-app.vercel.app,https://your-domain.com
38
- ALLOWED_ORIGINS: str = "http://localhost:3000,http://127.0.0.1:3000"
39
 
40
  # Frontend URL (for webhooks and redirects)
41
  FRONTEND_URL: str = "http://localhost:3000"
 
35
  # CORS - Allowed Origins (comma-separated)
36
  # Development: http://localhost:3000
37
  # Production: https://your-app.vercel.app,https://your-domain.com
38
+ ALLOWED_ORIGINS: str = "http://localhost:3000,http://127.0.0.1:3000,https://microfunnel-platform-production.up.railway.app"
39
 
40
  # Frontend URL (for webhooks and redirects)
41
  FRONTEND_URL: str = "http://localhost:3000"