Skip to content

Commit af31201

Browse files
committed
Remove special-case for html now that Document Conversion service no longer requires the charset be specified.
Relates to #332 and #334
1 parent 0ebf2bf commit af31201

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

document-conversion/v1.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@ function fixupContentType(params) {
6262
}
6363
};
6464
}
65-
else if (params.file.path && /.html?$/.test(params.file.path)) {
66-
params.file = {
67-
value: params.file,
68-
options: {
69-
contentType: 'text/html'
70-
}
71-
};
72-
}
7365
}
7466

7567
/**

0 commit comments

Comments
 (0)