Skip to content

Commit

Permalink
Update config to ignore extra environment variables and clean up poet…
Browse files Browse the repository at this point in the history
…ry.lock
  • Loading branch information
silas229 committed Oct 31, 2024
1 parent 699cca2 commit 61faed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 32 deletions.
2 changes: 1 addition & 1 deletion app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Settings(BaseSettings):
ALGORITHM: str = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES: int = 30

model_config = SettingsConfigDict(env_file='.env')
model_config = SettingsConfigDict(env_file='.env', extra='ignore')


settings = Settings()
32 changes: 1 addition & 31 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 61faed0

Please sign in to comment.