Install Trace collector agent - seedlinux - Torrent indexing tool opensource torrents with share ratio's etc.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit b40d2cb119f661c24a4cd597c4d39dc3f2680cbb
(DIR) parent e29b58df3d801237f6a29c031a91288cc091e892
(HTM) Author: Jay Scott <jay@jayscott.co.uk>
Date: Thu, 6 Jul 2017 22:50:11 +0100
Install Trace collector agent
Diffstat:
M app.js | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/app.js b/app.js
@@ -1,5 +1,9 @@
'use strict';
+if(process.env.NODE_ENV === 'production') {
+ require ('newrelic');
+}
+
const express = require('express');
const path = require('path');
const logger = require('morgan');