Patch node http-server for wasm mime-type

This commit is contained in:
Joshua Granick
2023-05-20 10:07:31 -07:00
parent 7c73bff438
commit 3596f83a41
2 changed files with 2 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ var ecstatic = module.exports = function (dir, options) {
charSet;
if (contentType) {
charSet = mime.charsets.lookup(contentType, 'utf-8');
charSet = mime.charsets.lookup(contentType);
if (charSet) {
contentType += '; charset=' + charSet;
}

File diff suppressed because one or more lines are too long