Skip to content

Commit

Permalink
Remove other "static" function name. Fixes #794
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Wesselhoeft committed Jun 3, 2013
1 parent 695f7e9 commit f6a2497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleware/static.js
Expand Up @@ -51,7 +51,7 @@ exports = module.exports = function(root, options){
// default redirect
var redirect = false !== options.redirect;

return function static(req, res, next) {
return function(req, res, next) {
if ('GET' != req.method && 'HEAD' != req.method) return next();
var path = parse(req).pathname;
var pause = utils.pause(req);
Expand Down

0 comments on commit f6a2497

Please sign in to comment.