Compare commits
2 Commits
edc10e5025
...
9a8f507544
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a8f507544 | |||
| cde78c983e |
|
|
@ -198,7 +198,7 @@ const defaultViewerForFile = (file: string) => {
|
|||
if (isMsOfficeViewerSupported(file)) {
|
||||
return "ms-office-viewer";
|
||||
}
|
||||
else if (path.extname(file).search(/^((?:.pdf))$/ig) != -1) {
|
||||
else {
|
||||
return "built-in";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user