diff --git a/app/client.py b/app/client.py index 4f500c8..9cd942c 100644 --- a/app/client.py +++ b/app/client.py @@ -13,9 +13,9 @@ from utils import generate_node_nickname app_conf = Config() # --- Client Configuration --- -SERVER_WS_URI = os.getenv("SERVER_WS_URI", "ws://localhost:8765") -SERVER_API_URL = os.getenv("SERVER_API_URL", "http://localhost:5000") -CLIENT_API_URL = os.getenv("CLIENT_API_URL", "http://localhost:8001") +SERVER_WS_URI = app_conf.get("SERVER_WS_URI", "ws://localhost:8765") +SERVER_API_URL = app_conf.get("SERVER_API_URL", "http://localhost:5000") +CLIENT_API_URL = app_conf.get("CLIENT_API_URL", "http://localhost:8001") # Get/set the ID of this node if not app_conf.get("client_id"):