gemercheung %!s(int64=2) %!d(string=hai) anos
pai
achega
f786f4ca20
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -12,7 +12,7 @@
     "start:dev": "nest start --watch",
     "start:debug": "nest start --debug --watch",
     "start:prod": "node dist/main",
-    "pm2:prod": "cross-env pm2 start -- ecosystem.config.js",
+    "pm2:prod": "cross-env NODE_ENV=production pm2 start -- ecosystem.config.js",
     "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
     "test": "jest",
     "test:watch": "jest --watch",