view htm files with HtmlViewer

This commit is contained in:
colinfruit 2019-10-27 14:08:34 -04:00 committed by Sean Yesmunt
parent 604572bb0f
commit ca44581abd

View file

@ -143,6 +143,7 @@ class FileRender extends React.PureComponent<Props> {
pdf: <PdfViewer source={downloadPath} />,
docx: <DocxViewer source={downloadPath} />,
html: <HtmlViewer source={downloadPath} />,
htm: <HtmlViewer source={downloadPath} />,
// @endif
// Add routes to viewer...
};