diff --git a/butler_ddochi/settings.py b/butler_ddochi/settings.py index 81ad8f3..8f686ee 100644 --- a/butler_ddochi/settings.py +++ b/butler_ddochi/settings.py @@ -16,13 +16,13 @@ from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent -# 우선순위: .env.prd > .env.dev > .env -if os.path.exists(os.path.join(BASE_DIR, '.env.prd')): - print("Read Environment File > Used : .env.prd") - load_dotenv(os.path.join(BASE_DIR, '.env.prd')) -elif os.path.exists(os.path.join(BASE_DIR, '.env.dev')): +# 우선순위: .env.dev > .env.prd > .env +if os.path.exists(os.path.join(BASE_DIR, '.env.dev')): print("Read Environment File > Used : .env.dev") load_dotenv(os.path.join(BASE_DIR, '.env.dev')) +elif os.path.exists(os.path.join(BASE_DIR, '.env.prd')): + print("Read Environment File > Used : .env.prd") + load_dotenv(os.path.join(BASE_DIR, '.env.prd')) else: print("None Environment File > Used : local_env") diff --git a/version b/version index 8a64d86..8ed5dd7 100644 --- a/version +++ b/version @@ -1 +1 @@ -dev_0.0.30 \ No newline at end of file +dev_0.0.31 \ No newline at end of file