fix: resolve symlink in proxyctl before deriving PROJECT_DIR
This commit is contained in:
@@ -3,7 +3,8 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
SERVICE="antigravity-proxy"
|
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}"
|
PORT="${PROXY_PORT:-8741}"
|
||||||
BASE_URL="http://localhost:${PORT}"
|
BASE_URL="http://localhost:${PORT}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user