Skip to content

Commit

Permalink
Fix #220
Browse files Browse the repository at this point in the history
  • Loading branch information
milani committed Oct 29, 2012
1 parent ff5cdaa commit a5b21d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/router/Response.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a5b21d5

Please sign in to comment.