From cc3ffcbb846649172845995e9492eceb75175ddc Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 29 Mar 2023 12:36:18 -0500 Subject: [PATCH] fix(server): incorrect video file path to serve for mobile vs web (#2118) --- server/apps/immich/src/api-v1/asset/asset.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/apps/immich/src/api-v1/asset/asset.service.ts b/server/apps/immich/src/api-v1/asset/asset.service.ts index f7b2cf0431..116faf340e 100644 --- a/server/apps/immich/src/api-v1/asset/asset.service.ts +++ b/server/apps/immich/src/api-v1/asset/asset.service.ts @@ -314,7 +314,7 @@ export class AssetService { return new StreamableFile(videoStream); } - return this.streamFile(asset.originalPath, res, headers, mimeType); + return this.streamFile(videoPath, res, headers, mimeType); } catch (e) { this.logger.error(`Error serving VIDEO asset=${asset.id}`); throw new InternalServerErrorException(`Failed to serve video asset ${e}`, 'ServeFile');