chore(deps): bump dependencies (#2397)

Fixes #2394
This commit is contained in:
Andrey Lushnikov
2018-04-17 14:51:03 -07:00
committed by GitHub
parent ed4be10ae3
commit 37cc9f567d
4 changed files with 7 additions and 7 deletions

View File

@@ -234,7 +234,7 @@ class SimpleServer {
response.end(`File not found: ${filePath}`);
return;
}
response.setHeader('Content-Type', mime.lookup(filePath));
response.setHeader('Content-Type', mime.getType(filePath));
response.end(data);
});
}