Permalink
Browse files

Fix #220

  • Loading branch information...
1 parent ff5cdaa commit a5b21d53f11124d2d6379abe14c01208669a0a5c @milani milani committed Oct 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/router/Response.js
View
@@ -96,7 +96,7 @@ inherit(Response, ServerResponse, [
if (err || !stat.isFile()) {
self.send(404);
} else {
- self.mimetype = mime.lookup(this.path);
+ self.mimetype = mime.lookup(self.path);
fs.readFile(self.path, function(err, buffer){
if (err) {
self.send(500);

0 comments on commit a5b21d5

Please sign in to comment.