seedlinux

find open source torrents and stats for people wishing to contribute bandwidth.
git clone git://git.beardyjay.co.uk/seedlinux
Log | Files | Refs | README | LICENSE

commit a68d092c1457e71e1666b239019428686f4638be
parent 630f2eedf9b55a2430f3e2d08ff86ef3a0a22bbb
Author: Jay Scott <jay@jayscott.co.uk>
Date:   Thu,  6 Jul 2017 22:50:11 +0100

Install Trace collector agent

Diffstat:
Mapp.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');