Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/630de12e5e486a71d5bf449636bb9129f9eecc98 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Apply review changes

pull/13076/head
Max 5 months ago
parent 1ba0b88703
commit 630de12e5e

@ -208,15 +208,8 @@ namespace MediaBrowser.Providers.Manager
}
// Deduce content type from file extension
var fileExtension = Path.GetExtension(url)?.ToLowerInvariant();
contentType = fileExtension switch
{
".jpg" or ".jpeg" => MediaTypeNames.Image.Jpeg,
".png" => MediaTypeNames.Image.Png,
".gif" => MediaTypeNames.Image.Gif,
".webp" => "image/webp",
_ => null
};
var fileExtension = MimeTypes.GetMimeType(new Uri(url).GetLeftPart(UriPartial.Path));
contentType = fileExtension;
if (string.IsNullOrEmpty(contentType))
{

Loading…
Cancel
Save