Spaces:
Running
Running
axeronis commited on
Commit ·
c6d74dd
1
Parent(s): a35d896
fix(config): allow CORS for microfunnelai.vercel.app to enable KB uploads
Browse files
backend/app/core/config.py
CHANGED
|
@@ -43,7 +43,7 @@ class Settings(BaseSettings):
|
|
| 43 |
# CORS - Allowed Origins (comma-separated)
|
| 44 |
# Development: http://localhost:3000
|
| 45 |
# Production: https://your-app.vercel.app,https://your-domain.com
|
| 46 |
-
ALLOWED_ORIGINS: str = "http://localhost:3000,http://127.0.0.1:3000,https://microfunnel-platform-production.up.railway.app"
|
| 47 |
|
| 48 |
# Frontend URL (for webhooks and redirects)
|
| 49 |
FRONTEND_URL: str = "http://localhost:3000"
|
|
|
|
| 43 |
# CORS - Allowed Origins (comma-separated)
|
| 44 |
# Development: http://localhost:3000
|
| 45 |
# Production: https://your-app.vercel.app,https://your-domain.com
|
| 46 |
+
ALLOWED_ORIGINS: str = "http://localhost:3000,http://127.0.0.1:3000,https://microfunnel-platform-production.up.railway.app,https://microfunnelai.vercel.app"
|
| 47 |
|
| 48 |
# Frontend URL (for webhooks and redirects)
|
| 49 |
FRONTEND_URL: str = "http://localhost:3000"
|