mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
Adding newrelic integration
This commit is contained in:
parent
e5120f37d3
commit
d39b691c46
2 changed files with 6 additions and 1 deletions
|
@ -27,7 +27,8 @@
|
|||
"express": "4.13.3",
|
||||
"express-http-proxy": "0.6.0",
|
||||
"lodash.defaults": "3.1.2",
|
||||
"mustache": "2.1.3"
|
||||
"mustache": "2.1.3",
|
||||
"newrelic": "1.22.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer-loader": "2.1.0",
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
if (typeof process.env.NEW_RELIC_LICENSE_KEY === 'string') {
|
||||
require('newrelic');
|
||||
}
|
||||
|
||||
var compression = require('compression');
|
||||
var express = require('express');
|
||||
var proxy = require('express-http-proxy');
|
||||
|
|
Loading…
Reference in a new issue