Sebastián Ramírez
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
1 deletions
-
backend/app/core/config.py
|
|
@ -25,7 +25,10 @@ def parse_cors(v: Any) -> list[str] | str: |
|
|
|
|
|
|
|
class Settings(BaseSettings): |
|
|
|
model_config = SettingsConfigDict( |
|
|
|
env_file=".env", env_ignore_empty=True, extra="ignore" |
|
|
|
# Use top level .env file (one level above ./backend/) |
|
|
|
env_file="../.env", |
|
|
|
env_ignore_empty=True, |
|
|
|
extra="ignore", |
|
|
|
) |
|
|
|
API_V1_STR: str = "/api/v1" |
|
|
|
SECRET_KEY: str = secrets.token_urlsafe(32) |
|
|
|