diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-26 10:48:57 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-26 10:48:57 +0200 |
commit | 857b0caea1678db085276ed7e84e6385c68d85d4 (patch) | |
tree | b8c67f5719d9a5f7bddcb53360a03ac87d05b762 /config | |
parent | renamed and moved favicon. deleted old one (diff) | |
download | Divid-857b0caea1678db085276ed7e84e6385c68d85d4.tar.gz |
fixed typos
Diffstat (limited to 'config')
-rw-r--r-- | config/express.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); |