init commit
This commit is contained in:
8
transportmanager/client/config.py
Normal file
8
transportmanager/client/config.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
# Load .env from project root even if running from client/
|
||||
load_dotenv(dotenv_path=os.path.join(os.path.dirname(__file__), "..", ".env"))
|
||||
|
||||
API_BASE_URL = os.getenv("API_BASE_URL", "http://127.0.0.1:5000")
|
||||
FLET_SERVER_PORT = int(os.getenv("FLET_SERVER_PORT", "8080"))
|
||||
Reference in New Issue
Block a user