Spaces:
Runtime error
Runtime error
Kushal commited on
Commit ·
34c2ec3
1
Parent(s): f3997d4
Fix: Added default for ALLOWED_ORIGINS to prevent crash
Browse files- app/config/settings.py +1 -1
app/config/settings.py
CHANGED
|
@@ -29,7 +29,7 @@ class Settings(BaseSettings):
|
|
| 29 |
GOOGLE_REDIRECT_URI: Optional[str] = ""
|
| 30 |
|
| 31 |
# CORS
|
| 32 |
-
ALLOWED_ORIGINS: str
|
| 33 |
|
| 34 |
@property
|
| 35 |
def cors_origins(self) -> List[str]:
|
|
|
|
| 29 |
GOOGLE_REDIRECT_URI: Optional[str] = ""
|
| 30 |
|
| 31 |
# CORS
|
| 32 |
+
ALLOWED_ORIGINS: str = "*"
|
| 33 |
|
| 34 |
@property
|
| 35 |
def cors_origins(self) -> List[str]:
|