From 482d2d73a3be4bdb9b81fa5ddb8be2bab4c93612 Mon Sep 17 00:00:00 2001 From: sophie <16087569+sophie_liang@user.noreply.gitee.com> Date: Wed, 8 Apr 2026 11:50:13 +0800 Subject: [PATCH] update postgres host to localhost and pw --- backend/app/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/config.py b/backend/app/config.py index 3132f780..4cfcebc3 100644 --- a/backend/app/config.py +++ b/backend/app/config.py @@ -53,7 +53,7 @@ class DevelopmentConfig(Config): DEBUG = True SQLALCHEMY_DATABASE_URI = os.getenv( 'DATABASE_URL', - 'postgresql://postgres:123456@8.152.207.171:5432/hxops_db', + 'postgresql://postgres:difyai123456@localhost:5432/hxops_db', ) @@ -61,7 +61,7 @@ class ProductionConfig(Config): DEBUG = False SQLALCHEMY_DATABASE_URI = os.getenv( 'DATABASE_URL', - 'postgresql://postgres:123456@8.152.207.171:5432/hxops_prod', + 'postgresql://postgres:difyai123456@localhost:5432/hxops_prod', )