| removing opbeat - seedlinux - Torrent indexing tool opensource torrents with sh… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 1fe1f2702665354161e8faebdaa8acc5083075aa | |
| parent b53dfbd9e07ba7143af4b262c0284a5e4030390d | |
| Author: Jay Scott <[email protected]> | |
| Date: Thu, 6 Jul 2017 21:41:58 +0100 | |
| removing opbeat | |
| Diffstat: | |
| M app.js | 5 ----- | |
| M package.json | 1 - | |
| 2 files changed, 0 insertions(+), 6 deletions(-) | |
| --- | |
| diff --git a/app.js b/app.js | |
| @@ -22,11 +22,6 @@ db.on('error', console.error.bind(console, 'MongoDB connecti… | |
| const app = express(); | |
| -if(process.env.NODE_ENV === 'production') { | |
| - const opbeat = require('opbeat').start(); | |
| - app.use(opbeat.middleware.express()); | |
| -} | |
| - | |
| app.set('views', path.join(__dirname, 'views')); | |
| app.set('view engine', 'pug'); | |
| diff --git a/package.json b/package.json | |
| @@ -20,7 +20,6 @@ | |
| "helmet": "^3.6.1", | |
| "mongoose": "4.10.8", | |
| "morgan": "~1.8.1", | |
| - "opbeat": "^4.14.0", | |
| "parse-torrent": "^5.8.3", | |
| "pug": "^2.0.0-rc.2", | |
| "webtorrent-health": "^1.1.1" |