fix: Use custom logger only for production

This commit is contained in:
Maksim Eltyshev
2022-08-23 20:45:42 +02:00
parent 33d36d80eb
commit c40709a509
5 changed files with 26 additions and 27 deletions

View File

@@ -1,9 +1,4 @@
#!/bin/bash
set -e
# db
node db/init.js
# app
export NODE_ENV=production
exec node app.js
exec node app.js --prod $@