High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): incorrect video file path to serve for mobile vs web (#2118)
Alexcc3ffcbb8466
diff --git a/server/apps/immich/src/api-v1/asset/asset.service.ts b/server/apps/immich/src/api-v1/asset/asset.service.tsindex 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');