This commit is contained in:
2025-09-19 00:00:02 +08:00
parent 139245792f
commit 88a605c0a9
2 changed files with 8 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ if [ ! -d "node_modules" ]; then
fi
# 启动后端服务器
echo "启动后端服务器 (端口 3001)..."
echo "启动后端服务器 (端口 3010)..."
node server/index.js &
BACKEND_PID=$!
@@ -24,7 +24,7 @@ FRONTEND_PID=$!
echo "系统启动完成!"
echo "前端地址: http://localhost:5173"
echo "后端API: http://localhost:3001"
echo "后端API: http://localhost:3010"
echo "按 Ctrl+C 停止所有服务"
# 捕获退出信号,清理进程