From a74a540295a4a9f4848652c332d0ac42df4b14ca Mon Sep 17 00:00:00 2001 From: Keysat Date: Fri, 12 Jun 2026 19:19:31 -0500 Subject: [PATCH] Make launch.json frontend path portable ($PWD/frontend) The crm-preview launch config hardcoded an absolute machine path for CRM_FRONTEND_DIR, breaking the preview on any other clone path. Derive it from $PWD at launch time so the repo is self-contained. Clears the sole blocker from the portability-standard audit. --- .claude/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/launch.json b/.claude/launch.json index d85f967..1f714ec 100644 --- a/.claude/launch.json +++ b/.claude/launch.json @@ -4,7 +4,7 @@ { "name": "crm-preview", "runtimeExecutable": "bash", - "runtimeArgs": ["-c", "CRM_DB_PATH=/tmp/crm_preview.db CRM_DATA_DIR=/tmp/crm_preview_data CRM_FRONTEND_DIR=/Users/macpro/Projects/CRM/frontend CRM_PORT=8765 CRM_ENV=development exec python3 backend/server.py"], + "runtimeArgs": ["-c", "CRM_DB_PATH=/tmp/crm_preview.db CRM_DATA_DIR=/tmp/crm_preview_data CRM_FRONTEND_DIR=$PWD/frontend CRM_PORT=8765 CRM_ENV=development exec python3 backend/server.py"], "port": 8765 } ]