feat(aihr): finalize practice growth and access boundaries
This commit is contained in:
+11
-2
@@ -244,12 +244,21 @@ else
|
||||
fi
|
||||
PIDS+=("$!")
|
||||
|
||||
./scripts/dev-frontend.sh &
|
||||
BACKEND_PROXY_TARGET=""
|
||||
if using_portless_backend; then
|
||||
for _ in {1..20}; do
|
||||
BACKEND_PROXY_TARGET="$(portless get wygj-api 2>/dev/null || true)"
|
||||
[[ -n "$BACKEND_PROXY_TARGET" ]] && break
|
||||
sleep 0.1
|
||||
done
|
||||
fi
|
||||
|
||||
VITE_APP_PROXY_TARGET="${VITE_APP_PROXY_TARGET:-$BACKEND_PROXY_TARGET}" ./scripts/dev-frontend.sh &
|
||||
PIDS+=("$!")
|
||||
|
||||
if using_portless_mobile; then
|
||||
portless alias --remove wygj-mobile-uni >/dev/null 2>&1 || true
|
||||
VITE_PROXY_TARGET="${VITE_PROXY_TARGET:-https://wygj-api.localhost}" portless run --name wygj-mobile-uni --force npm --prefix mobile-uni run dev &
|
||||
VITE_PROXY_TARGET="${VITE_PROXY_TARGET:-$BACKEND_PROXY_TARGET}" portless run --name wygj-mobile-uni --force npm --prefix mobile-uni run dev &
|
||||
else
|
||||
./scripts/dev-mobile.sh &
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user