From 8a0e873eb576a3ed6645c5b5fb0acff85a28ca7b Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 22 Apr 2015 07:51:47 -0700 Subject: [PATCH] Fixed: URL Base for favicon and Apple Touch icons --- src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs b/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs index c90fc7381..fb1fac170 100644 --- a/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs +++ b/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs @@ -17,7 +17,7 @@ public class IndexHtmlMapper : StaticResourceMapperBase private readonly IAnalyticsService _analyticsService; private readonly Func _cacheBreakProviderFactory; private readonly string _indexPath; - private static readonly Regex ReplaceRegex = new Regex("(?<=(?:href|src)=\").*?(css|js)(?=\")", RegexOptions.Compiled | RegexOptions.IgnoreCase); + private static readonly Regex ReplaceRegex = new Regex("(?<=(?:href|src)=\").*?(css|js|png|ico|ics)(?=\")", RegexOptions.Compiled | RegexOptions.IgnoreCase); private static String API_KEY; private static String URL_BASE;