From 857b0caea1678db085276ed7e84e6385c68d85d4 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sun, 26 May 2013 10:48:57 +0200 Subject: fixed typos --- config/express.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/express.js b/config/express.js index 2cbc4b1..a281123 100644 --- a/config/express.js +++ b/config/express.js @@ -18,7 +18,7 @@ module.exports = function (app, config, passport) { app.use(express.static(config.root + '/public')); - // don't use logger for test enc + // don't use logger for test env if (process.env.NODE_ENV !== 'test') app.use(express.logger('dev')); @@ -44,7 +44,7 @@ module.exports = function (app, config, passport) { app.use(app.router); app.use(function(err, req, res, next) { - if (~err.message.indexOf('not fount')) return next(); // treat like 404 + if (~err.message.indexOf('not found')) return next(); // treat like 404 console.error(err.stack); -- cgit v1.2.3