Add client-side settings feature and support for SVG file type

This commit is contained in:
CodeDevMLH
2026-02-04 13:45:11 +01:00
parent c391649884
commit 9259a0f487
5 changed files with 188 additions and 4 deletions

View File

@@ -70,6 +70,7 @@ namespace Jellyfin.Plugin.MediaBarEnhanced.Api
if (path.EndsWith(".js", StringComparison.OrdinalIgnoreCase)) return "application/javascript";
if (path.EndsWith(".css", StringComparison.OrdinalIgnoreCase)) return "text/css";
if (path.EndsWith(".html", StringComparison.OrdinalIgnoreCase)) return "text/html";
if (path.EndsWith(".svg", StringComparison.OrdinalIgnoreCase)) return "image/svg+xml";
return "application/octet-stream";
}
}