ソースを参照

修复路径问题

zhusiqing 5 年 前
コミット
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,