mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fonts are served locally
This commit is contained in:
parent
7c483e2db9
commit
1ad0d1afba
22 changed files with 24 additions and 45 deletions
|
@ -8,7 +8,21 @@ namespace NzbDrone.Api.Frontend
|
|||
public class StaticResourceMapper : IMapHttpRequestsToDisk
|
||||
{
|
||||
private readonly IEnvironmentProvider _environmentProvider;
|
||||
private static readonly string[] Extensions = new[] { ".css", ".js", ".html", ".htm", ".jpg", ".jpeg", ".icon", ".gif", ".png", ".woff", ".ttf" };
|
||||
private static readonly string[] Extensions = new[] {
|
||||
".css",
|
||||
".js",
|
||||
".html",
|
||||
".htm",
|
||||
".jpg",
|
||||
".jpeg",
|
||||
".ico",
|
||||
".icon",
|
||||
".gif",
|
||||
".png",
|
||||
".woff",
|
||||
".ttf",
|
||||
".eot"
|
||||
};
|
||||
|
||||
public StaticResourceMapper(IEnvironmentProvider environmentProvider)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue