Skip to content

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

fix thumbnails windows

Stanimir4bb028797c69
diff --git a/app/reducers/location-index.ts b/app/reducers/location-index.ts
index 34b1f6459..1f7409100 100644
--- a/app/reducers/location-index.ts
+++ b/app/reducers/location-index.ts
@@ -399,7 +399,10 @@ export const actions = {
: entry.path;
// eslint-disable-next-line no-param-reassign
entry.thumbPath = PlatformIO.getURLforPath(
- getThumbFileLocationForFile(thumbPath, '/')
+ getThumbFileLocationForFile(
+ thumbPath,
+ PlatformIO.getDirSeparator()
+ )
);
}
});