Skip to content

Commit 91316ca

Browse files
committed
update
1 parent 498c109 commit 91316ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rest/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55

66
from rest.app import App
77

8-
# Load environment variables from .env.local or .env
8+
# Load environment variables from .env.local, .env.development, or .env
99
dotenv_path = find_dotenv(".env.local")
10+
if not dotenv_path:
11+
dotenv_path = find_dotenv(".env.development")
1012
if not dotenv_path:
1113
dotenv_path = find_dotenv()
1214

0 commit comments

Comments
 (0)