Skip to content
Browse files

Merge branch 'master' of https://github.com/lpatters/bogart

  • Loading branch information...
2 parents 743994c + bdc3b0a commit ecebcd2737f10c8e3490a3aa2a83e39bdf5edc53 @nrstott committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/middleware.js
View
2 lib/middleware.js
@@ -84,7 +84,7 @@ exports.Directory = function(root, nextApp) {
};
};
-function respondWithFile(req, filePath, contentType) {
+var respondWithFile = exports.respondWithFile = function(req, filePath, contentType) {
contentType = require("./mimetypes").mimeType(path.extname(filePath), contentType);
return when(stat(filePath), function(stat) {

0 comments on commit ecebcd2

Please sign in to comment.
Something went wrong with that request. Please try again.