Compare commits

...

2 Commits

View File

@ -198,7 +198,7 @@ const defaultViewerForFile = (file: string) => {
if (isMsOfficeViewerSupported(file)) { if (isMsOfficeViewerSupported(file)) {
return "ms-office-viewer"; return "ms-office-viewer";
} }
else if (path.extname(file).search(/^((?:.pdf))$/ig) != -1) { else {
return "built-in"; return "built-in";
} }
} }