Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/3ddc01e3f4e7a0678d8aa6fa63964794b9b6aa39
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
2 additions and
2 deletions
@ -32,7 +32,7 @@ namespace NzbDrone.Api.Frontend.Mappers
var pathToFile = mapper . Map ( resourceUrl ) ;
var hash = _hashProvider . ComputeMd5 ( pathToFile ) . ToBase64 ( ) ;
return resourceUrl + "?h=" + hash ;
return resourceUrl + "?h=" + hash .Trim ( '=' ) ;
}
private static bool ShouldBreakCache ( string path )
@ -17,7 +17,7 @@ namespace NzbDrone.Api.Frontend.Mappers
private readonly IAnalyticsService _analyticsService ;
private readonly Func < ICacheBreakerProvider > _cacheBreakProviderFactory ;
private readonly string _indexPath ;
private static readonly Regex ReplaceRegex = new Regex ( "(?<=(?:href|src |data-main )=\").*?(?=\")", RegexOptions . Compiled | RegexOptions . IgnoreCase ) ;
private static readonly Regex ReplaceRegex = new Regex ( "(?<=(?:href|src )=\").*?(css|js) (?=\")", RegexOptions . Compiled | RegexOptions . IgnoreCase ) ;
private static String API_KEY ;
private static String URL_BASE ;