wui hai 6 meses
pai
achega
c1113edc26
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      deploy.sh

+ 1 - 1
deploy.sh

@@ -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 "✅ 部署完成!"