Fonts are served locally

This commit is contained in:
Mark McDowall 2013-06-14 17:29:38 -07:00
commit 1ad0d1afba
22 changed files with 24 additions and 45 deletions

View file

@ -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)
{