From 2ac2016ed48d05e1f1857f6900c1ee3107fafbf7 Mon Sep 17 00:00:00 2001 From: Nikketryhard Date: Sun, 15 Feb 2026 17:36:45 -0600 Subject: [PATCH] fix: resolve symlink in proxyctl before deriving PROJECT_DIR --- scripts/proxyctl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/proxyctl b/scripts/proxyctl index 0aead13..e7f4334 100755 --- a/scripts/proxyctl +++ b/scripts/proxyctl @@ -3,7 +3,8 @@ set -euo pipefail SERVICE="antigravity-proxy" -PROJECT_DIR="$(cd "$(dirname "$0")/.." && pwd)" +SCRIPT_PATH="$(readlink -f "$0")" +PROJECT_DIR="$(cd "$(dirname "$SCRIPT_PATH")/.." && pwd)" PORT="${PROXY_PORT:-8741}" BASE_URL="http://localhost:${PORT}"