聊天工具优化

This commit is contained in:
2025-12-26 13:39:58 +08:00
parent f1c7639ec1
commit a4e2542b23
9 changed files with 1381 additions and 327 deletions
+9 -2
View File
@@ -41,10 +41,17 @@ echo "========================================="
echo " 启动Web服务器..."
echo "========================================="
echo ""
echo "🌐 访问地址: http://localhost:5000"
# 读取配置
PORT=${PORT:-15000}
API_BASE_URL=${API_BASE_URL:-http://localhost:8080}
echo "🌐 访问地址: http://localhost:$PORT"
echo "🔗 后端API: $API_BASE_URL"
echo "📝 按 Ctrl+C 停止服务"
echo ""
# 启动Flask应用
export PORT=$PORT
export API_BASE_URL=$API_BASE_URL
python3 app.py