Skip to content

Commit

Permalink
fix newrelic require
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanigenerali committed Sep 28, 2017
1 parent 1aa389c commit 957ff9d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
if (process.env.NODE_ENV == "production") {
require('newrelic');
}
require('newrelic');
const jsonServer = require('json-server')
const server = jsonServer.create()
const router = jsonServer.router('db.json')
Expand Down

0 comments on commit 957ff9d

Please sign in to comment.