feat: 修改pm3配置

This commit is contained in:
helti
2024-12-14 18:52:59 +08:00
parent 38f3f38403
commit b31d4f59a2
3 changed files with 3 additions and 3 deletions

View File

@@ -30,6 +30,6 @@ npm run build || handle_error "构建失败"
# 使用 pm2 重启或启动项目
log "正在启动/重启服务..."
pm2 restart daily-news || pm2 start ecosystem.config.js || handle_error "PM2 启动失败"
pm2 restart daily-news || pm2 start ecosystem.config.cjs || handle_error "PM2 启动失败"
log "部署完成!"