Skip to content

Commit

Permalink
allow mimetype option
Browse files Browse the repository at this point in the history
  • Loading branch information
max-mapper committed Jan 23, 2012
1 parent 9fbe9f4 commit 3fc2e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Expand Up @@ -30,7 +30,7 @@ function File (options) {


this.buffering = true this.buffering = true


this.mimetype = mimetypes.lookup(this.path.slice(this.path.lastIndexOf('.')+1)) this.mimetype = options.mimetype || mimetypes.lookup(this.path.slice(this.path.lastIndexOf('.')+1))


var stopBuffering = function () { var stopBuffering = function () {
self.buffering = false self.buffering = false
Expand Down

0 comments on commit 3fc2e36

Please sign in to comment.