Skip to content

Commit

Permalink
Update env path
Browse files Browse the repository at this point in the history
  • Loading branch information
jonra1993 committed May 18, 2024
1 parent ddad043 commit 132828f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ModeEnum(str, Enum):
testing = "testing"


class Settings(BaseSettings):
class Settings(BaseSettings, extra='ignore'):
PROJECT_NAME: str = "app"
BACKEND_CORS_ORIGINS: list[str] | list[AnyHttpUrl]
MODE: ModeEnum = ModeEnum.development
Expand All @@ -21,7 +21,7 @@ class Settings(BaseSettings):

class Config:
case_sensitive = True
env_file = os.path.expanduser("~/.env")
env_file = os.path.expanduser("../../.env")


settings = Settings()

0 comments on commit 132828f

Please sign in to comment.