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}"