diff --git a/agent-node/VERSION b/agent-node/VERSION index f8f3c08..140333f 100644 --- a/agent-node/VERSION +++ b/agent-node/VERSION @@ -1 +1 @@ -1.0.18 +1.0.19 diff --git a/agent-node/src/agent_node/config.py b/agent-node/src/agent_node/config.py index 8510cfb..59e1da1 100644 --- a/agent-node/src/agent_node/config.py +++ b/agent-node/src/agent_node/config.py @@ -57,9 +57,8 @@ CERT_CLIENT_CRT = os.getenv("CERT_CLIENT_CRT", "certs/client.crt") CERT_CLIENT_KEY = os.getenv("CERT_CLIENT_KEY", "certs/client.key") -# FS Explorer root - Priority: Env > YAML > HOME > / +# FS Explorer root - Priority: Env > YAML > / FS_ROOT = os.getenv("CORTEX_FS_ROOT", _config.get("fs_root")) if not FS_ROOT: - # Default to user home on unix systems to avoid showing root directory by default - FS_ROOT = os.path.expanduser("~") if platform.system() in ["Darwin", "Linux"] else "C:\\" + FS_ROOT = "/" if platform.system() in ["Darwin", "Linux"] else "C:\\"