aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2023-10-29 17:30:10 -0700
committerGitHub <noreply@github.com>2023-10-29 17:30:10 -0700
commitb530c2e5e0fbc9ad63591c6ef8c2e9cc385233dc (patch)
treee1c0a0a625c99fd5debc4e6ee041963ba3036362 /api
parentfdbaf6558a4a35e4f589f18c3bc41de204520bd1 (diff)
fix hostname env var
Diffstat (limited to 'api')
-rw-r--r--api/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/app.py b/api/app.py
index d25076d..7d5728c 100644
--- a/api/app.py
+++ b/api/app.py
@@ -117,7 +117,7 @@ def create_database_connection():
Creates a database connection using the environment variables
:param: auth_append: str = "" - If you want to use a different set of variables for persisitance of sessions
"""
- hostname = os.environ.get("POSTGRES_URL")
+ hostname = os.environ.get("POSTGRES_HOST")
user = os.environ.get("POSTGRES_USER")
password = os.environ.get("POSTGRES_PASSWORD")
database = os.environ.get("POSTGRES_DATABASE")
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage