Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: reverting back to about:blank due to issue with the web

Ilian Sapundshievd8a8cedb87c9
diff --git a/app/components/FileView.tsx b/app/components/FileView.tsx
index 9eada6969..36e9afd95 100644
--- a/app/components/FileView.tsx
+++ b/app/components/FileView.tsx
@@ -84,7 +84,7 @@ const FileView = (props: Props) => {
(openedFile.shouldReload === true ? '&t=' + new Date().getTime() : '');
}
} else {
- fileOpenerURL = '';
+ fileOpenerURL = 'about:blank';
}
return (
<div
diff --git a/app/services/utils-io.ts b/app/services/utils-io.ts
index fb2c7e0a6..9ff91c3f1 100644
--- a/app/services/utils-io.ts
+++ b/app/services/utils-io.ts
@@ -350,7 +350,7 @@ export function findExtensionsForEntry(
).toLowerCase();
const viewingExtensionPath = isFile
? findExtensionPathForId('@tagspaces/extensions/text-viewer')
- : '';
+ : 'about:blank';
const fileForOpening: OpenedEntry = {
path: entryPath,
viewingExtensionPath,