mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
fixed missing compression for dashboard js/css
This commit is contained in:
parent
405e38280b
commit
969bc00098
@ -381,6 +381,14 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
||||
}
|
||||
if (contentType.StartsWith("application/", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
if (string.Equals(contentType, "application/x-javascript", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (string.Equals(contentType, "application/xml", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -409,7 +409,7 @@ namespace MediaBrowser.WebDashboard.Api
|
||||
var files = new[]
|
||||
{
|
||||
"http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css",
|
||||
"thirdparty/jqm-icon-pack-3.0/font-awesome/jqm-icon-pack-3.0.0-fa.css",
|
||||
"thirdparty/jqm-icon-pack-3.0/font-awesome/jqm-icon-pack-3.0.0-fa.css" + versionString,
|
||||
"css/all.css" + versionString
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user