Skip to content

Commit

Permalink
Explicitly add mime dep to StaticServer (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
ficristo authored May 4, 2019
1 parent 134b160 commit 899a932
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var http = require("http"),
pathJoin = require("path").join,
connect = require("connect"),
utils = require("connect/lib/utils"),
mime = require("connect/node_modules/send/node_modules/mime"),
mime = require("mime"),
parse = utils.parseUrl;

var _domainManager;
Expand Down
3 changes: 2 additions & 1 deletion src/extensions/default/StaticServer/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "static-server",
"dependencies": {
"connect": "^2.9.0"
"connect": "^2.9.0",
"mime": "^1.2.11"
}
}

0 comments on commit 899a932

Please sign in to comment.