Spaces:
Sleeping
Sleeping
Update src/config.py
Browse files- src/config.py +2 -2
src/config.py
CHANGED
|
@@ -21,7 +21,7 @@ class Settings(BaseSettings):
|
|
| 21 |
debug: bool = Field(default=True, alias="DEBUG")
|
| 22 |
|
| 23 |
# CORS settings
|
| 24 |
-
frontend_url: str = Field(default="
|
| 25 |
DATABASE_URL: str = "postgresql://neondb_owner:npg_LE9V4bojIRQD@ep-blue-block-ahgb84lf-pooler.c-3.us-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require"
|
| 26 |
|
| 27 |
# Authentication settings
|
|
@@ -35,7 +35,7 @@ class Settings(BaseSettings):
|
|
| 35 |
DEBUG: bool = True
|
| 36 |
|
| 37 |
# CORS settings
|
| 38 |
-
FRONTEND_URL: str = "https://full-stack-
|
| 39 |
|
| 40 |
class Config:
|
| 41 |
env_file = ".env"
|
|
|
|
| 21 |
debug: bool = Field(default=True, alias="DEBUG")
|
| 22 |
|
| 23 |
# CORS settings
|
| 24 |
+
frontend_url: str = Field(default="https://full-stack-the-evolution-of-todo.vercel.app", alias="FRONTEND_URL")
|
| 25 |
DATABASE_URL: str = "postgresql://neondb_owner:npg_LE9V4bojIRQD@ep-blue-block-ahgb84lf-pooler.c-3.us-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require"
|
| 26 |
|
| 27 |
# Authentication settings
|
|
|
|
| 35 |
DEBUG: bool = True
|
| 36 |
|
| 37 |
# CORS settings
|
| 38 |
+
FRONTEND_URL: str = "https://full-stack-the-evolution-of-todo.vercel.app"
|
| 39 |
|
| 40 |
class Config:
|
| 41 |
env_file = ".env"
|