From 094365e7ad9ceea1d8961b73da2b327ef5e04cf0 Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Thu, 26 Dec 2024 01:37:38 +1100 Subject: [PATCH] Remove postgres url from production config --- app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index 68876b2..10e0425 100644 --- a/app/config.py +++ b/app/config.py @@ -19,7 +19,7 @@ class ProductionConfig(Config): """Production configuration.""" DEBUG = False - uri = os.environ.get('DATABASE_URL', 'postgres://postgres:59fff56880e1bbb42e753d2a82ac21b6@peterstockings.com:15389/bloodpressure_db') + uri = os.environ.get('DATABASE_URL') if uri and uri.startswith("postgres://"): uri = uri.replace("postgres://", "postgresql://", 1)