Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow mimetype option

  • Loading branch information...
commit 3fc2e36da61aa7e5158f9a8183734085695f0757 1 parent 9fbe9f4
@maxogden maxogden authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  main.js
View
2  main.js
@@ -30,7 +30,7 @@ function File (options) {
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 () {
self.buffering = false
Please sign in to comment.
Something went wrong with that request. Please try again.