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 c5288cdec64f2653e37209caeac606d366e8a715
parent 487de15d14fed895482239b9d12e4fe6471d1bb3
Author: Jay Scott <jay@jayscott.co.uk>
Date:   Sat,  1 Jul 2017 11:45:20 +0100

bumping version

Diffstat:
Mapp.js | 5+----
Mpackage-lock.json | 2+-
Mpackage.json | 4++--
3 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/app.js b/app.js @@ -38,16 +38,13 @@ app.use('/', index); app.use('/torrent/', torrent); app.use(function(req, res, next) { - var err = new Error('Not Found'); - err.status = 404; - next(err); + res.status(404).render('error'); }); app.use(function(err, req, res, next) { res.locals.message = err.message; res.locals.error = req.app.get('env') === 'development' ? err : {}; - res.status(err.status || 500); res.render('error'); }); diff --git a/package-lock.json b/package-lock.json @@ -1,6 +1,6 @@ { "name": "seedlinux", - "version": "0.0.1", + "version": "0.0.2", "lockfileVersion": 1, "dependencies": { "accepts": { diff --git a/package.json b/package.json @@ -1,6 +1,6 @@ { "name": "seedlinux", - "version": "0.0.1", + "version": "0.0.2", "private": true, "scripts": { "lint": "eslint **/*.js", @@ -13,7 +13,7 @@ "cookie-parser": "~1.4.3", "debug": "~2.6.3", "express": "~4.15.2", - "mongoose": "^4.10.8", + "mongoose": "4.10.8", "morgan": "~1.8.1", "parse-torrent": "^5.8.3", "pug": "~2.0.0-beta11",