Skip to content

Commit

Permalink
feat(*): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
garthenweb committed Mar 24, 2019
1 parent 812099e commit 2be3df5
Show file tree
Hide file tree
Showing 3 changed files with 2,062 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = function(basePath, options) {
* handles each request and sends a webp image format if the client supports it
*/
return function webpMiddleware(req, res, next) {
var mimeType = mime.lookup(req.originalUrl);
var mimeType = mime.getType(req.originalUrl);
var pathOptions = [];
var accept = req.headers.accept;

Expand Down
Loading

0 comments on commit 2be3df5

Please sign in to comment.