Skip to content

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

fix: opening images on s3

Ilian Sapundshievec1cbca76acf
diff --git a/app/reducers/app.ts b/app/reducers/app.ts
index a9a4f0954..fc9140011 100644
--- a/app/reducers/app.ts
+++ b/app/reducers/app.ts
@@ -1354,8 +1354,8 @@ export const actions = {
fsEntry.path,
fsEntry.isFile
);
- if (fsEntry.url) {
- entryForOpening.url = fsEntry.url;
+ if (PlatformIO.haveObjectStoreSupport()) {
+ entryForOpening.url = PlatformIO.getURLforPath(fsEntry.path);
}
if (fsEntry.perspective) {
entryForOpening.perspective = fsEntry.perspective;