@@ -31,7 +31,7 @@ if pm2 list | grep -q "tweb-api"; then
pm2 restart tweb-api
else
echo "🚀 创建新的 PM2 应用..."
- NODE_ENV=production pm2 start dist/server.js --name tweb-api
+ pm2 start dist/server.js --name tweb-api
fi
echo "✅ 部署完成!"