mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fonts are served locally
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user