Browse Source

feat: 修改部署配置文件

sunxiao 8 months ago
parent
commit
a19a3b23fa
1 changed files with 3 additions and 4 deletions
  1. 3 4
      public/ecosystem.config.js

+ 3 - 4
public/ecosystem.config.js

@@ -5,8 +5,7 @@ module.exports = {
     output: './pm2-log/nitro-back-out.log',
     error: './pm2-log/nitro-back-error.log',
     ignore_watch: ["node_modules", "logs"],
-    script: './index.html'
+    script: 'serve ./ --listen 8899',
+    args: '.'
   }]
-}
-
-
+}