update postgres host to localhost and pw
This commit is contained in:
1 parent
62ec5a3513
commit
482d2d73a3
1 file changed
+2
-2
@@ -53,7 +53,7 @@ class DevelopmentConfig(Config):
|
|||||||
DEBUG = True
|
DEBUG = True
|
||||||
SQLALCHEMY_DATABASE_URI = os.getenv(
|
SQLALCHEMY_DATABASE_URI = os.getenv(
|
||||||
'DATABASE_URL',
|
'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
|
DEBUG = False
|
||||||
SQLALCHEMY_DATABASE_URI = os.getenv(
|
SQLALCHEMY_DATABASE_URI = os.getenv(
|
||||||
'DATABASE_URL',
|
'DATABASE_URL',
|
||||||
'postgresql://postgres:123456@8.152.207.171:5432/hxops_prod',
|
'postgresql://postgres:difyai123456@localhost:5432/hxops_prod',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user