mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
enable newrelic
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
"mongoose": "~3.8.23",
|
||||
"mongoose-id-autoinc": "~2013.7.14-4",
|
||||
"nconf": "~0.6.9",
|
||||
"newrelic": "~1.23.0",
|
||||
"newrelic": "~1.25.0",
|
||||
"nib": "~1.0.1",
|
||||
"nodemailer": "~0.5.2",
|
||||
"pageres": "^1.0.1",
|
||||
|
||||
@@ -174,8 +174,8 @@ module.exports.setupConfig = function(){
|
||||
|
||||
if (nconf.get('NODE_ENV') === "development")
|
||||
Error.stackTraceLimit = Infinity;
|
||||
//if (nconf.get('NODE_ENV') === 'production')
|
||||
//require('newrelic');
|
||||
if (nconf.get('NODE_ENV') === 'production')
|
||||
require('newrelic');
|
||||
|
||||
isProd = nconf.get('NODE_ENV') === 'production';
|
||||
baseUrl = nconf.get('BASE_URL');
|
||||
|
||||
Reference in New Issue
Block a user