update postgres host to localhost and pw

This commit is contained in:
sophie committed 2026-04-08 11:50:13 +08:00
1 parent 62ec5a3513
commit 482d2d73a3
1 file changed
+2 -2
+2 -2
View File
@@ -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',
)