fixed issues from removing other frontend

This commit is contained in:
2026-04-08 00:02:56 -06:00
parent e25f8a9b63
commit 56be227245
4 changed files with 13 additions and 5 deletions

8
open
View File

@ -6,6 +6,7 @@ PROJECT_DIR="$PWD"
export BACKEND_PORT="${BACKEND_PORT:-8000}"
export VITE_BACKEND_PORT="${VITE_BACKEND_PORT:-$BACKEND_PORT}"
BACKEND_URL="http://127.0.0.1:${BACKEND_PORT}/health"
FRONTEND_URL="http://127.0.0.1:5173"
# Check if backend is already running
if curl -sf "$BACKEND_URL" > /dev/null 2>&1; then
@ -48,4 +49,11 @@ else
done
fi
# Check if frontend is already running
if curl -sf "$FRONTEND_URL" > /dev/null 2>&1; then
echo "Frontend already running on port 5173."
else
echo "Frontend not running — Tauri will start it automatically."
fi
npx tauri dev