Created
July 11, 2013 15:50
-
-
Save nikmartin/5976680 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
module.exports = function () { | |
return function (req, res, next) { | |
//do stuff here | |
debug("NEEEXT!"); | |
return res.end(); | |
} | |
next(); | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment