Jelajahi Sumber

修复路径问题

zhusiqing 5 tahun lalu
induk
melakukan
87c012d981
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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,