Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/9b45ee440cd2d167aee63a05bcbb6137765b4da8?style=unified&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

User proper File constructor

pull/2946/head
crobibero 5 years ago
parent 3c18745f53
commit 9b45ee440c

@ -191,7 +191,7 @@ namespace Jellyfin.Api.Controllers.Images
}
var contentType = MimeTypes.GetMimeType(contentPath);
return new FileStreamResult(System.IO.File.OpenRead(contentPath), contentType);
return File(System.IO.File.OpenRead(contentPath), contentType);
}
/// <summary>

Loading…
Cancel
Save