mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	fix(server): incorrect video file path to serve for mobile vs web (#2118)
This commit is contained in:
		| @@ -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'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user