Add real workspace acceptance

This commit is contained in:
2026-06-30 17:33:15 +08:00
parent 4eb9452760
commit 53b81dd04d
11 changed files with 418 additions and 18 deletions

View File

@@ -9,6 +9,9 @@ if [[ -f "${ROOT_DIR}/.env" ]]; then
set +a
fi
HOST="${SEG_FRONTEND_HOST:-0.0.0.0}"
PORT="${SEG_FRONTEND_PORT:-5173}"
cd "${ROOT_DIR}/frontend"
npm install
exec npm run dev -- --host 0.0.0.0
exec npm run dev -- --host "${HOST}" --port "${PORT}"