Use URL_BASE in index mapper

This commit is contained in:
Mark McDowall 2015-01-24 00:37:35 -08:00
parent 51dc6be2fa
commit 76c6d9cc5b
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ namespace NzbDrone.Api.Frontend.Mappers
text = text.Replace("APP_VERSION", BuildInfo.Version.ToString()); text = text.Replace("APP_VERSION", BuildInfo.Version.ToString());
text = text.Replace("APP_BRANCH", _configFileProvider.Branch.ToLower()); text = text.Replace("APP_BRANCH", _configFileProvider.Branch.ToLower());
text = text.Replace("APP_ANALYTICS", _analyticsService.IsEnabled.ToString().ToLowerInvariant()); text = text.Replace("APP_ANALYTICS", _analyticsService.IsEnabled.ToString().ToLowerInvariant());
text = text.Replace("URL_BASE", _configFileProvider.UrlBase); text = text.Replace("URL_BASE", URL_BASE);
_generatedContent = text; _generatedContent = text;