mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-05-19 20:28:43 +00:00
chore(logging): no production logging (how did this commit get removed?)
This commit is contained in:
parent
52df534196
commit
8a42e0c392
1 changed files with 2 additions and 1 deletions
|
|
@ -92,7 +92,8 @@ if (cluster.isMaster && (nconf.get('NODE_ENV') == 'development' || nconf.get('NO
|
|||
|
||||
app.set("port", nconf.get('PORT'));
|
||||
|
||||
if (!process.env.SUPPRESS) app.use(express.logger("dev"));
|
||||
if (nconf.get('NODE_ENV') !== 'production')
|
||||
app.use(express.logger("dev"));
|
||||
app.use(express.compress());
|
||||
app.set("views", __dirname + "/../views");
|
||||
app.set("view engine", "jade");
|
||||
|
|
|
|||
Loading…
Reference in a new issue