summaryrefslogtreecommitdiff
path: root/node_modules/connect-static/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/connect-static/index.js')
-rw-r--r--node_modules/connect-static/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/connect-static/index.js b/node_modules/connect-static/index.js
index 6097f98..ed08b1e 100644
--- a/node_modules/connect-static/index.js
+++ b/node_modules/connect-static/index.js
@@ -35,7 +35,7 @@ function createGzipStaticMiddleware(options, cb) {
var cacheObj;
cache[relName] = cacheObj = {
sink: sink,
- mime: mime.lookup(relName),
+ mime: mime.getType(relName),
mtime: stat.mtime,
hash: null,
};