view htm files with HtmlViewer
This commit is contained in:
parent
604572bb0f
commit
ca44581abd
1 changed files with 1 additions and 0 deletions
|
@ -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...
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue