Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove other "static" function name. Fixes #794 #817

Merged
merged 1 commit into from

2 participants

@xtian

No description provided.

@tj tj merged commit 5e3d293 into senchalabs:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 3, 2013
  1. @xtian
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/middleware/static.js
View
2  lib/middleware/static.js
@@ -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);
Something went wrong with that request. Please try again.