zhusiqing 5 лет назад
Родитель
Сommit
87c012d981
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pm2.config.js

+ 1 - 1
pm2.config.js

@@ -2,7 +2,7 @@ const pkg = require('./package.json')
 module.exports = {
   apps: [{
     name: pkg.name,
-    script: 'server.js',
+    script: './server/server.js',
 
     // Options reference: https://pm2.io/doc/en/runtime/reference/ecosystem-file/
     instances: 1,