Preview link

This commit is contained in:
2025-09-01 14:37:31 +00:00
parent debbf07280
commit 021e0c7974
8 changed files with 45 additions and 4 deletions

View File

@ -43,7 +43,9 @@ start_server() {
cat /tmp/build_logs_fifo >&2 &
cat /tmp/build_logs_fifo2 >&2 &
PREVIEW_PORT="${PREVIEW_PORT:-3000}"
echo "Starting preview HTTP server on port 3000..."
echo "Preview host port is set to: ${PREVIEW_PORT}"
python3 -u -m http.server 3000 -d /app/output &
SERVER_PID=$!