Explorar el Código

修复路径问题

zhusiqing hace 5 años
padre
commit
87c012d981
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,