changes of .env file

This commit is contained in:
2026-01-21 22:59:36 +05:30
parent 40fc148287
commit 7bdcee0656
18 changed files with 98 additions and 72 deletions

View File

@@ -3,10 +3,10 @@ import os
# Database Config
class DBConfig:
MYSQL_HOST = os.getenv("MYSQL_HOST", "127.0.0.1")
MYSQL_USER = os.getenv("MYSQL_USER", "root")
MYSQL_PASSWORD = os.getenv("MYSQL_PASSWORD", "root")
MYSQL_DB = os.getenv("MYSQL_DB", "test_income_taxdb")
MYSQL_HOST = os.getenv("DB_HOST")
MYSQL_USER = os.getenv("DB_USER")
MYSQL_PASSWORD = os.getenv("DB_PASSWORD")
MYSQL_DB = os.getenv("DB_NAME")
@staticmethod
def get_db_connection():