aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-26 10:48:57 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-26 10:48:57 +0200
commit857b0caea1678db085276ed7e84e6385c68d85d4 (patch)
treeb8c67f5719d9a5f7bddcb53360a03ac87d05b762
parentrenamed and moved favicon. deleted old one (diff)
downloadDivid-857b0caea1678db085276ed7e84e6385c68d85d4.tar.gz
fixed typos
-rw-r--r--config/express.js4
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);