diff --git a/AobaServer/Controllers/MediaController.cs b/AobaServer/Controllers/MediaController.cs index c19bfe4..b7c2401 100644 --- a/AobaServer/Controllers/MediaController.cs +++ b/AobaServer/Controllers/MediaController.cs @@ -17,7 +17,7 @@ public class MediaController(AobaService aobaService, ILogger l [ResponseCache(Duration = int.MaxValue)] public async Task MediaAsync(ObjectId id, [FromServices] MongoClient client, CancellationToken cancellationToken) { - var file = await aobaService.GetFileStreamAsync(id, cancellationToken: cancellationToken); + var file = await aobaService.GetFileStreamAsync(id, seekable: true, cancellationToken: cancellationToken); if (file.HasError) { logger.LogError(file.Error.Exception, "Failed to load media stream");