Permalink
Browse files

lastRoute fix

  • Loading branch information...
corpix committed Jan 22, 2012
1 parent 219d9cd commit ed0ed33b38f41c7657e0ac798d316f988c37f51a
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.js
  2. +1 −1 package.json
View
@@ -23,7 +23,7 @@ ex.define = function(opts){
ex.bind = function(app, opts){
- if(!opts.lastRoute) {
+ if(opts.lastRoute == undefined || opts.lastRoute == true) {
app.use(function(req, res, next){
next(ex.NotFound);
});
View
@@ -2,7 +2,7 @@
"author": "Corpix <me@corpix.ru> (http://corpix.ru)",
"name": "express-errors",
"description": "Error handler",
- "version": "0.0.8",
+ "version": "0.0.8-1",
"repository": {
"type": "git",
"url": "git://github.com/corpix/express-errors.git"

0 comments on commit ed0ed33

Please sign in to comment.