Skip to content

Commit

Permalink
add some env vars back in
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaellaude committed Jul 20, 2024
1 parent 5e5c535 commit 43e0445
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/app/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ def POSTGRES_USER(self) -> str:
@property
def POSTGRES_PASSWORD(self) -> str:
(host,) = self.SQLALCHEMY_DATABASE_URI.hosts()
return host["password"] or ""
return (
host["password"] or "changethis"
) # if changethis is returned in prod, will throw an error

@property
def POSTGRES_SERVER(self) -> str:
Expand Down

0 comments on commit 43e0445

Please sign in to comment.