Compare commits

..

No commits in common. "9a8f507544e4c9a4d9bc08568d77de6519bbcdce" and "edc10e50256983a16cbd4720d094639a3a0d12d3" have entirely different histories.

View File

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