Introduction
Introduction Statistics Contact Development Disclaimer Help
Install Trace collector agent - seedlinux - Torrent indexing tool opensource to…
Log
Files
Refs
README
---
commit b40d2cb119f661c24a4cd597c4d39dc3f2680cbb
parent e29b58df3d801237f6a29c031a91288cc091e892
Author: Jay Scott <[email protected]>
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(-)
---
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');
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.