fix: add .env file

This commit is contained in:
sophie committed 2026-04-17 13:36:06 +08:00
1 parent 9313ff769d
commit 7bc6a8072b
5 files changed
+10 -23

No files matched your search

+3 -2
View File
@@ -53,7 +53,8 @@ class DevelopmentConfig(Config):
DEBUG = True
SQLALCHEMY_DATABASE_URI = os.getenv(
'DATABASE_URL',
'postgresql://postgres:123456@8.152.207.171:5432/hxops_db',
# 'postgresql://postgres:123456@8.152.207.171:5432/hxops_db',
'postgresql://postgres:difyai123456@localhost:5432/hxops_db',
)
@@ -61,7 +62,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',
)