Comparing version 0.1.10 to 0.1.11
@@ -61,3 +61,3 @@ var winston = require('winston'); | ||
req.originalUrl, | ||
chalk.gray(req.session ? req.session.passport.user : '') | ||
chalk.gray(req && req.session && req.session.passport ? req.session.passport.user : '') | ||
].join(' '); | ||
@@ -64,0 +64,0 @@ |
@@ -91,5 +91,4 @@ 'use strict'; | ||
app.use(timeout(40 * 1000)); | ||
// app.use(timeout(40 * 1)); | ||
done(); | ||
}; |
'use strict'; | ||
var express = require('express'), | ||
router = express.Router(); | ||
var express = require('express'); | ||
@@ -11,9 +10,3 @@ module.exports = function(done, app, static_root_path) { | ||
router.get('*', function(req, res, next) { | ||
var err = new Error('404 Page Not Found'); | ||
err.status = 404; | ||
next(err); | ||
}); | ||
done(); | ||
}; |
{ | ||
"name": "elephas", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "Some added sugar on top of express to give our our some sensible defaults and a little structure.", | ||
@@ -5,0 +5,0 @@ "main": "elephas.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28905
20
570